Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - ResourceItemAddPreviewOverride
Adds an override file to the ResourceItem, which is used to generate previews
Declaration
public string ResourceItemAddPreviewOverride ( string apiKey, string resourceName, string itemID, string previewFileData, string previewExtension, bool isPermanentPreview );
Arguments
Name |
Type |
Description |
---|---|---|
apiKey |
The API key previously generated by calling the GenerateApiKey function |
|
resourceName |
The name of the resource |
|
itemID |
The ID of the item |
|
previewFileData |
The path to the preview file (accessible from the CHILI server), or its base64 encoded data |
|
previewExtension |
string |
Extension ("jpg", "png", ...) of the preview file |
isPermanentPreview |
bool |
If true, the preview override remains valid even after the resource item is modified |
Returns
An XML document with DocumentElement 'ok' (<ok/>), or an exception
Security rights needed
- Add
Apply on resource
Resource from function parameter resourceName
All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security