Overview

To use Alfresco 4.2d to 5.0 Repositories, user needs to apply a HOT-FIX that uses CMIS 1.1 for both CMIS Import and CMIS Export Plugin.

Applies to the following Ephesoft Versions:
v3.1.2.9 and v3.1.2.10

v4.0.2.0 and v4.0.2.1

 

Note: This hotfix would enable user to use only Alfresco versions over and above Alfresco 4.2d onwards with CMIS 1.1. While using this hotfix user cannot use previous versions of Alfresco i.e. Alfresco v 3.x to Alfresco v 4.2c or CMIS 1.0.

Steps to apply hotfix are as follows:

  • Download hotfix from following URL:

CMIS 1.1 HotFix For v4.0.2.0 and v4.0.2.1

CMIS 1.1 HotFix For v3.1.2.9+

 

  • Stop the Ephesoft server.
  • Delete following listed JARs from [EphesoftInstallationDirectory]\Application\WEB-INF\lib\* after taking their backup.
  1. chemistry-opencmis-client-api-0.6.0.jar
  2. chemistry-opencmis-client-bindings-0.6.0.jar
  3. chemistry-opencmis-client-impl-0.6.0.jar
  4. chemistry-opencmis-commons-api-0.6.0.jar
  5. chemistry-opencmis-commons-impl-0.6.0.jar
  6. alfresco-opencmis-extension-0.2.jar

 

  • Paste following jar files from the HOT-FIX at [EphesoftInstallationDirectory]\Application\WEB-INF\lib\*:
    1. chemistry-opencmis-client-api-0.10.0.jar
    2. chemistry-opencmis-client-bindings-0.10.0.jar
    3. chemistry-opencmis-client-impl-0.10.0.jar
    4. chemistry-opencmis-commons-api-0.10.0.jar
    5. chemistry-opencmis-commons-impl-0.10.0.jar
    6. dcma-cmis*.jar
    7. dcma-cmis-import*.jar

 

  • Change [EphesoftInstallationFolder]\SharedFolders\BCx\cmis-plugin-mapping\aspect-mapping.properties for CMIS Export Plugin:

The format for applying aspects in mapping to document types and Document level fields is:

Examples for document type = Doc1 with DLF’s field1 (String) and field2 (Double) is illustrated below:

  • A document mapped to one aspect:

Doc1=P:cm:taggable|field1::cm:description

This line in aspect-mapping.properties tells documents with Document type Doc1, would be added with aspect P:cm:taggable and its document level field field1’s value would be exported to cm:description aspect property for P:cm:taggable aspect.

  • A document mapped to 2 aspects:

Doc1=P:cm:taggable|field1::cm:description;P:cm:geographic|field2::cm:longitude

This line in aspect-mapping.properties tells documents with Document type Doc1, would be added with aspect P:cm:taggable and its document level field field1’s value would be exported to cm:description aspect property for P:cm:taggable aspect and with aspect P:cm:geographic and its document level field field2’s value would be exported to cm:longitude aspect property for P:cm:geographic aspect.

 

Note: Aspects with at least one aspect property must be used.

Few things to remember:

  • Doc1 is a document type
  • P:cm:taggable and P:cm:geographic are aspects.
  • “|” is separator between multiple aspect properties and aspect name, associated with an aspect.
  • Field1 and field2 are the DLFs that have been mapped to cm:description property of cm:taggable and cm:longitude property of cm:geographic aspects, respectively.

 

  • Reconfigure batch classes to use connection URL and repository id in CMIS Export and CMIS Import settings as follows:
    1. The Connection URL must be : http://<hostname>:<port>/alfresco/api/-default-/public/cmis/versions/1.1/atom
    2. Repository id must be: -default-

 

  • Restart Ephesoft server.

 

 

 

 

 

< Back | 4.0.0.0 Release Documentation

Was this article helpful to you?

Engineering

Comments are closed.