HomeGuidesRecipesAPI
HomeGuidesAPILog In

CMIS Save/Update Document

Save Document Action

The Save Document action can be used to save one or more documents to the CMIS repository. A number of inputs are available to override the global settings.

InputDescriptionFormat
Access Control Entries (Principal:Permission)Permissions to grant to CMIS principals with respect to the document. There can only be one access control entry for a given Principal.Key-value pairs; the key should be a CMIS PrincipalId and the value should be one of write, read, or all.
Document TypeThe CMIS type of the document. The default is cmis:document.
Metadata (parameter = value)Additional data (such as author, for example) to be stored as part of the document record.Key-value pairs; values for multi-value properties should be pipe-separated
Repository IDThe repository to use for saving the document. This is optional if a repository is set in the global settings.
Repository PathSpecifies the path within the repository at which the document should be stored.
Version StateThe version state in which to create the document record.Drop-down selection of Minor, Major, Checkout, or None.

Documents to be saved are supplied to the action by attaching them as Action Documents in Design. By default, the action will use all generated documents.

Update Document Action

The Update Document Action can be used to update one or more documents in the CMIS repository. A number of inputs are available to override the global settings.

InputDescriptionFormat
Access Control Entries (Principal:Permission)Permissions to grant to CMIS principals with respect to the document. There can only be one access control entry for a given Principal.Key-value pairs; the key should be a CMIS PrincipalId and the value should be one of write, read, or all.
Document Id (Mandatory)Id of the document to update, which will be used to identify which document should be updated. The document type must have versioning for an update to work.
Document TypeThe CMIS type of the document. The default is cmis:document.
Metadata (parameter = value)Additional data (such as author, for example) to be stored as part of the document record. Names must match available metadata in the CMIS service. Update has an additional metadata value of {skip}. If a metadata value is set to {skip}, no action is taken on update and allows users to skip updating values that have not changed.Key-value pairs; values for multi-value properties should be pipe-separated
Repository IDThe repository to use for saving the document. This is optional if a repository is set in the global settings.
Repository PathDefault is root path (/), otherwise set to the folder path where content is to be saved.
Version StateThe version state in which to create the document record.Drop-down selection of Minor, Major, Checkout, or None (Default).