Information Classification: External Restricted.
See https://www.chili-publish.com/security

Webservice Functions - SetAssetDirectories

Applies values to the Asset Directories which can be entered also per document in the Document Settings panel. These values are applied to the apiKey, and override any values entered manually inside a document.
To clear an existing value, provide the string 'empty'. An empty string ('') indicates that nothing changes for that argument.

Declaration

public string SetAssetDirectories ( string apiKey, string userAssetDirectory, string userGroupAssetDirectory, string documentAssetDirectory );

Arguments

Name

Type

Description

apiKey

apiKey

The API key previously generated by calling the GenerateApiKey function

userAssetDirectory

folderPath

The new value for userAssetDirectory

userGroupAssetDirectory

folderPath

The new value for userGroupAssetDirectory

documentAssetDirectory

folderPath

The new value for documentAssetDirectory

Returns

okOrException

An XML document with DocumentElement 'ok' (<ok/>), or an exception

No access when API Key locked

true

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security