Configure a CMIS add document activity
an activity to the map.
By default, the Configuration tab is open in the properties panel of the activity.
- Change the default Name of the activity to something meaningful.
- On the Type list, select .
Configure the following properties.
Location CMIS site
The CMIS compliant site and the CMIS web service URL.
The path to use for uploading the document.
New document Type
The document to be added to the CMIS site.
The relevant list of metadata is populated.
The version information. Available options are:For Azure, enter the static value of the file name which is available in the Generated documents folder or select a document variable so that the system adds the document automatically in the repository.
To add a document with major or minor version, you must enable the Versioning option for a CMIS-compliant site. If you try to add a document with a version (Major or Minor) when Versioning is unavailable, the job is suspended and a message appears. If Versioning is enabled and you try to add a document without a version (None), the job is suspended.
- None: Adds the document without a version number.
- Major: Adds the document with the version 1.0.
- Minor: Adds the document with the version 0.1.
- Checked-out: Adds and checks out the document.
The path where you can upload or check in a document to the subfolders within the repository. The path can be a static value or a dynamic variable.
The location of the source document. The location can be a static value or a dynamic variable.
If you select a Document variable, you can choose a file type to save the document in that format:
For Azure, enter a static value or select a document variable in the Source document field, the document is automatically picked up from the Generated documents folder in the repository. This document must already be present in the Generated documents folder.
- Select Specify file type.
- On the Source file type list, select the file type, such as BMP, CSV, and TIFF. See the supported mime types.
Configure the metadata:
You must map all the mandatory (required) fields.
The Metadata dialog box is displayed.
On the Mapping column, map the metadata using static or dynamic values. You can also map a document variable to parameter of type String.
At runtime, the values of the relevant document fields are retrieved.
Result Document ID
The unique identifier of the document to be retrieved from the CMIS site. The ID can be a static value or a dynamic variable.Once the activity is completed, the value of the selected variable is updated with the Document ID.
The document is added to the selected target location on the CMIS site. All mapped metadata properties from the selected item are also set for the uploaded document.