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

Webservice Functions - DocumentGetHTMLEditorURL

Returns a URL for editing (or viewing) of the specified document, with arguments to determine how the interface will be constructed

Declaration

public string DocumentGetHTMLEditorURL ( string apiKey, string itemID, string workSpaceID, string viewPrefsID, string constraintsID, bool viewerOnly, bool forAnonymousUser );

Arguments

Name

Type

Description

apiKey

apiKey

The API key previously generated by calling the GenerateApiKey function

itemID

itemID

The document's ID

workSpaceID

itemID

The (optional) WorkSpace ID for the Editor (emtpy string to use the default)

viewPrefsID

itemID

The (optional) ViewPreferences ID for the Editor (emtpy string to use the default)

constraintsID

itemID

The (optional) Constraints ID for the Editor (emtpy string to use the default)

viewerOnly

bool

The (optional) DocumentConstraints ID for the Editor (emtpy string to use the default)

forAnonymousUser

bool

If true, the anonymous user's apiKey will be appended. This does require the anonymous user to have view or edit privileges on the Documents resource

Returns

urlInfo

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