Namespace: Manage

Appearition.ContentLibrary.Manage

Use the functions under this manage items the Content Library methods on the Appearition platform

Methods

Appearition.ContentLibrary.Manage.AddFile (providerName, itemKey, fileName, fileContent, requestOptions) static

Uploads a file into the content item

Name Type Description
providerName string

the name of the provider to return the records for

itemKey string

identifies the item

fileName string

The name of the file being sent up to the server

fileContent string

The file contents that need to be sent up to the server

requestOptions any

configure callbacks

Appearition.ContentLibrary.Manage.AddNewItem (providerName, contentItem, requestOptions) static

Retrieves a list of tags that are available to be added to an experience record

Name Type Description
providerName string

the name of the provider to return the records for

contentItem any

the item to save

requestOptions any

configure callbacks

Appearition.ContentLibrary.Manage.AddThumbnailImage (providerName, itemKey, fileName, fileContent, requestOptions) static

Uploads a file into the content item and saves it as the thumbnail image

Name Type Description
providerName string

the name of the provider to return the records for

itemKey string

identifies the item

fileName string

The name of the file being sent up to the server

fileContent string

The file contents that need to be sent up to the server

requestOptions any

configure callbacks

Appearition.ContentLibrary.Manage.CopyItem (fromProviderName, fromItemKey, toProviderName, toTag, requestOptions) static

Copies an item to another provider and/or folder

Name Type Description
fromProviderName string

the name of the provider to copy item from

fromItemKey string

identifies the item in the from provider to copy

toProviderName string

the name of the provider to copy the item to

toTag string

the tag to assign to the copied item

requestOptions any

configure callbacks

Appearition.ContentLibrary.Manage.DeleteFileFromItem (providerName, itemKey, contentItemFile, requestOptions) static

Removes the given file from the item

Name Type Description
providerName string

the name of the provider to return the records for

itemKey string

the item identifier to delete

contentItemFile any

the file to remove

requestOptions any

configure callbacks

Appearition.ContentLibrary.Manage.DeleteItem (providerName, itemKey, requestOptions) static

Retrieves a list of tags that are available to be added to an experience record

Name Type Description
providerName string

the name of the provider to return the records for

itemKey string

the item identifier to delete

requestOptions any

configure callbacks

Appearition.ContentLibrary.Manage.UpdateItemDetails (providerName, contentItem, requestOptions) static

Retrieves a list of tags that are available to be added to an experience record

Name Type Description
providerName string

the name of the provider to return the records for

contentItem any

the item to update

requestOptions any

configure callbacks

Appearition.ContentLibrary.Manage.UploadNewFileIntoItem (providerName, itemKey, isThumbnailImage, fileName, fileContent, requestOptions) static

Uploads a file into the content item

Name Type Description
providerName string

the name of the provider to return the records for

itemKey string

identifies the item

isThumbnailImage bool

indicates if the file being uploaded is a thumbnail image

fileName string

The name of the file being sent up to the server

fileContent string

The file contents that need to be sent up to the server

requestOptions any

configure callbacks