/
Webservice Functions - SetAssetDirectories

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

Related content

Webservice Functions - ResourceItemAdd
Webservice Functions - ResourceItemAdd
More like this
Embedding an Editor in your own portals
Embedding an Editor in your own portals
Read with this
Webservice Functions - DocumentSetAssetDirectories
Webservice Functions - DocumentSetAssetDirectories
More like this
PUT - system/apikey/assetdirectories
PUT - system/apikey/assetdirectories
More like this
External Assets XML
Read with this

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