2.3. CMIS Configuration

This section consists of the following main topics:

To expose Content drives to the CMIS repositories, you must make a special extension of CmisRegistry.

To make the org.exoplatform.ecms.xcmis.sp.DriveCmisRegistry typical component, do as follows:


<component>
    <type>org.exoplatform.ecms.xcmis.sp.DriveCmisRegistry</type>
    <init-params>
        <!-- Disabled by default. Uncomment if you need query support in CMIS. -->
        <!-- value-param>
        <name>indexDir</name>
        <value>${gatein.jcr.index.data.dir}/cmis-index${container.name.suffix}</value>
        </value-param-->
        <value-param>
            <name>exo.cmis.renditions.persistent</name>
        <value>true</value>
        </value-param>
        <values-param>
            <name>renditionProviders</name>
            <description>Redition providers classes.</description>
        <!-- <value>org.xcmis.renditions.impl.PDFDocumentRenditionProvider</value> -->
            <value>org.xcmis.renditions.impl.ImageRenditionProvider</value>
        </values-param>
    </init-params>
</component>

Where configuration parameters include:

Note

In most cases, it is not required to change anything in the xCIMIS configuration. In case of any change of the indexer storage location, do not comment the indexDir value parameter and point it to the actual location.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus