You are looking at documentation for an older release. Not what you want? See the current release documentation.
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:
properties-param: RuntimeContextParams
Property-name | Type | Value | Description |
---|---|---|---|
parameterizedPageURI | string | ${wcm.config.parameterizedPageURI:/detail} | Contains the path to a page which displays the full content of a document provided by a URL on the browser's address bar. |
printPageURI | string | ${wcm.config.printPageURI:/printviewer} | The URL of the document's print preview page. |
printViewerPage | string | ${wcm.config.printViewerPage:printviewer} | The name of the print preview page. |
editorPageURI | string | ${wcm.config.editorPageURI:editor} | The name of the page which users can in-line edit its content displayed in the front-end page. |
siteExplorerURI | String | ${wcm.config.siteExplorerURI:siteExplorer} | The URL of a page containing the Sites Explorer portlet. |
CLVPortlet | String | /presentation/ContentListViewerPortlet | The portlet which contains a list of content. |
SCVPortlet | String | /presentation/SingleContentViewer | The portlet which contains single content. |
formViewTemplatePath | String | ${wcm.config.formViewTemplatePath:} | The path to the template used to display the contents in this portlet. |
paginatorTemplatePath | String | ${wcm.config.paginatorTemplatePath:/exo:ecm/views/templates/content-list-viewer/paginators/DefaultPaginator.gtmpl} | The path to the paginator used to display the contents in this portlet. |
properties-param: share.portal.config
object-param: live.portals.location.config
Field | Type | Value | Description |
---|---|---|---|
workspace | string | collaboration | The workspace name in the Content Repository. |
path | string | /sites | The path to the folders containing the sites of the system. |
object-param: site.drive.config
Field | Type | Value | Description |
---|---|---|---|
name | String | {siteName} | The name of a site in the portal. |
workspace | String | {workspace} | The workspace name in the Content repository. |
permissions | String | {accessPermission} | Visibility of the drive based on users' access permission. |
homePath | String | {sitePath}/categories/{siteName} | The root path in the Content Repository. userId can be used at runtime in the path. |
views | String | wcm-category-view | The list of views you want to use, separated by commas. For example: simple-view,admin-view . |
viewPreferences | Boolean | false | The User Preference icon will be visible if true. |
viewNonDocument | Boolean | true | Non-document types will be visible in the user view if true. |
viewSideBar | Boolean | true | Shows/Hides the left bar (with navigation and filters). |
showHiddenNode | Boolean | false | Hidden nodes will be visible if true. |
allowCreateFolders | String | nt:folder,nt:unstructured | A list of node types that you can create as folders. For example: nt:folder,nt:unstructured |
allowNodeTypesOnTree | String | * | Allows you to filter node types in the navigation tree. For example, the default value is "*" to show all content types. |