Configuration

../_images/index-image.PNG

Repository configuration

To setup your repository, open CiAnywhere and navigate to the ECM Configuration screen. From here, open the CMIS Configuration screen below.

Compose a request

Important

For security reasons, a separate CMIS repository should be used for each integration and should only have access to the indexes required by the integration. It is also recommended to have a different user for each integration so they can be configured to have just enough security access for the integration to work.

Name:Used to uniquely identify a CMIS repository. Note that this value will form part of the url that is used to navigate to this repository. For example, a repository with the name of T1TEST will use a servicedoc url similar to the following: /[ENVIRONMENT ID]/Api/CMIS/T1TEST/servicedoc
Description:A brief summary that will appear to users who access the repository.
Authenticate:Enabling authentication prevents anonymous users from accessing the repository. In order to access any of the services exposed via CMIS the request will need to contain an authorization header with valid ECM User credentials.
Setting the Impersonation User:
 The impersonation user is used to determine permissions that the CMIS repository will apply when an authentication user is not available. Logging will also be applied against this user.
Temporary File Expiry:
 Temporary files are stored on the server when appending a content stream in chunks via the SetContentStream service. These files will expire if they remain inactive for a duration that exceeds the value configured here. This setting can be utilised to reset a failed upload.
Cache Expiry:The CMIS data cache is used to store reusable data that is retrieved from ECM. This significantly increases the performance of the application however it may also use a large amount of memory. This setting allows for the cache to be released if it is left inactive.
Maximum Cached Objects:
 This setting allows for the number of objects stored in the CMIS data cache to be limited. Note that this amount may be temporarily exceeded while processing a single request, however the next call will force a reset.
Paginate Children when Calling GetChildren on a CMIS Object:
 Utilities such a Chemistry Workbench attempt to paginate through all children contained in a retrieved directory. Unfortunately, they are unable to process the large number of documents under the ECM root folder. This setting disables pagination on the GetChildren service and limits the result set to 100.

In future versions of Workbench, the following parameter will limit the number of children that are loaded: cmis.workbench.folder.maxChildren=100

Index configuration

The index configuration screen allows for an additional layer of security to be applied to each repository. The selected indexes section is a whitelist of the indexes that users can access via the repository. Only documents and index entries that are associated with one of the selected indexes are accessible.

Index Configuration

Change history configuration

Change history recording can be enabled by checking Save Change History in ECM Configuration under the Documents section. Change events can be generated for all historical records by clicking the Populate Change History button in ECM Configuration screen.

Change History Configuration