Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - DocumentGetDefaultSettings
Returns default settings for an editor session. This function is used by CHILI Editor to retrieve a series of informations in one call.
Declaration
public string DocumentGetDefaultSettings ( string apiKey, string itemID, string viewType, string viewPrefsID, string constraintID );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
itemID | The document's ID | |
viewType | string | If 'view', the settings required for a Viewer are returned |
viewPrefsID | Optional ID for the viewpreferences to be loaded (if not present, the default will be used) | |
constraintID | Optional ID for the constraints to apply to the document (if not provided, the default will be used) |
Returns
A valid XML string