2.1.3.6.4. WCM Configuration

This service is used to manage general information of sites and runtime context parameters.

The configuration of this component can be found here.


<component>
    <key>org.exoplatform.services.wcm.core.WCMConfigurationService</key>
    <type>org.exoplatform.services.wcm.core.WCMConfigurationService</type>
    <init-params>
      <properties-param>
        <name>RuntimeContextParams</name>
        <description>some params for runtime</description>

        <property name="parameterizedPageURI" value="${wcm.config.parameterizedPageURI:/detail}" />
        <property name="printPageURI" value="${wcm.config.printPageURI:/printviewer}" />
        <property name="printViewerPage" value="${wcm.config.printViewerPage:printviewer}" />
        <property name="editorPageURI" value="${wcm.config.editorPageURI:editor}" />
        <property name="siteExplorerURI" value="${wcm.config.siteExplorerURI:siteExplorer}" />

        <property name="CLVPortlet" value="/presentation/ContentListViewerPortlet" />
        <property name="SCVPortlet" value="/presentation/SingleContentViewer" />

        <property name="formViewTemplatePath" value="${wcm.config.formViewTemplatePath:}" />
        <property name="paginatorTemplatePath" value="${wcm.config.paginatorTemplatePath:/exo:ecm/views/templates/content-list-viewer/paginators/DefaultPaginator.gtmpl}" />
      </properties-param>
      <properties-param>
        <name>share.portal.config</name>
        <description>share portal name for each repository</description>
        <property name="portalName" value="shared" />
      </properties-param>
      <object-param>
        <name>live.portals.location.config</name>
        <description>configuration for the cms path</description>
        <object type="org.exoplatform.services.wcm.core.NodeLocation">
          <field name="workspace">
            <string>collaboration</string>
          </field>
          <field name="path">
            <string>/sites</string>
          </field>
        </object>
      </object-param>
      <object-param>
        <name>site.drive.config</name>
        <description>drive config for each site drive</description>
        <object type="org.exoplatform.services.cms.drives.DriveData">
          <field name="name">
            <string>{siteName}</string>
          </field>
          <field name="workspace">
            <string>{workspace}</string>
          </field>
          <field name="permissions">
            <string>{accessPermission}</string>
          </field>
          <field name="homePath">
            <string>{sitePath}/categories/{siteName}</string>
          </field>
          <field name="icon">
            <string></string>
          </field>
          <field name="views">
            <string>Categories</string>
          </field>
          <field name="viewPreferences">
            <boolean>false</boolean>
          </field>
          <field name="viewNonDocument">
            <boolean>true</boolean>
          </field>
          <field name="viewSideBar">
            <boolean>true</boolean>
          </field>
          <field name="showHiddenNode">
            <boolean>false</boolean>
          </field>
          <field name="allowCreateFolders">
            <string>nt:folder,nt:unstructured</string>
          </field>
          <field name="allowNodeTypesOnTree">
            <string>*</string>
          </field>
        </object>
      </object-param>
    </init-params>
  </component> 

Details:

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