Web content authoring options
Define the following authoring server options in WCMConfigService.properties.
The WCMConfigService.properties file is located in...
Windows: PROFILE_HOME/PortalServer/wcm/shared/app/config/wcmservices/
UNIX: PROFILE_HOME/PortalServer/wcm/shared/app/config/wcmservices/
i5/OS: PROFILE_HOME/PortalServer/wcm/shared/app/config/wcmservices/
- Restart WebSphere Portal to enable any configuration changes made to this file.
- When making changes to clustered servers, edit WCMConfigService.properties in each node of the cluster.
The following sections of WCMConfigService.properties are used to configure an authoring server:
- General properties:
- Server Paths
- Users and Security
- General Setup
- Content Management:
- Authoring Portlet
- Workflow
- Versioning
- Resources
- Controls
- Performance
- Syndication
Details of configuration parameters are also documented in WCMConfigService.properties.
Enable workflows
As default, the IBM Lotus Web Content Management application will workflow content items only. The WCMConfigService.properties file can be edited to enable workflows for different items. To enable workflows add com.aptrix.pluto.workflow.WorkflowControl to any of the control.itemtype settings.For example:
control.Template=com.aptrix.pluto.workflow.WorkflowControlIf workflows are enabled for the following items, a workflow view will not be available in the item views navigator.
- Sites and site areas.
- Taxonomies and categories.
- Workflows, workflow stages, or workflow actions.
Individual items can still be moved through workflow stages by accessing them through the normal item views and approving them.
Only content items can be moved through a workflow using the Web content API. If you enable workflows for other item types, you will not be able to approve or reject these items using the API.
Enable profiling
As default, the Web Content Management application will profile content items only. The WCMConfigService.properties file can be edited to enable profiling for different items. To enable profiling add com.aptrix.pluto.taxonomy.ProfileControl to any of the control.itemtype settings.For example:
control.Cmpnt=com.aptrix.pluto.taxonomy.ProfileControl
Version control options
- versioningStrategy.AuthoringTemplate=
- versioningStrategy.Component=
- versioningStrategy.Content=
- versioningStrategy.PresentationTemplate=
- versioningStrategy.Site=
- versioningStrategy.Taxonomy=
- versioningStrategy.Workflow=
- versioningStrategy.Default=
You can use the following version control settings:
- always
- If specified, a version is saved every time a non-workflowed item is saved, or every time a workflowed item is published.
- manual
- If specified, versions will only be saved when a user with at least editor access chooses to save a version. This enables:
- the Save Version button in the read mode of non-workflowed items and in workflowed items in the published state.
- the Save and Version button in the edit mode of non-workflowed items and in workflowed items in the published state.
- never
- Specify this to disable version control for an item type
If a version control strategy is not defined for an item type, then the version control strategy specified in versioningStrategy.Default= is used.
Inheritance options
By default, inheritance is automatically propagated down to each item. You can disable automatic inheritance by changing this setting to false:default.inherit.permissions.enabled=falseWhen this setting is changed it is applied only to new items. The inheritance on existing items will remain unchanged.
Hierarchical item locking options
When a content item is being edited, it is locked. Other users are prevented from editing the content item until it is unlocked. Locking of sites, site areas, taxonomies and categories is configurable and is not enabled by default. To enable locking for hierarchical item types, change the following parameters to "true":
wcm.authoringui.lock.taxonomies=true wcm.authoringui.lock.categories=true wcm.authoringui.lock.sites=true wcm.authoringui.lock.siteareas=true
When locking is enabled for sites and site areas you cannot create any children under the locked site or site area.
For example, if a site area is locked, you will not be able to create any new site areas or content items under that site area until it is unlocked.
This only applies to items located one level below a locked parent. Items located under a child of a locked parent are not affected.
Defining valid mime types for the image element
Define the mime types of files that are allowed to be uploaded into the image element using the imageresourcecmpnt.allowedmimetypes setting.For example:
imageresourcecmpnt.allowedmimetypes=image/gif,image/jpegThis will prevent users uploading non-image files into the image element.
Active content filtering
Active Content Filtering provides the ability to strip specified HTML fragments from HTML entered in elements. This includes Rich Text and HTML elements.For example:
active.content.filtering.enable=trueIf enabled, this will prevent a user from introducing malicious code into a Web site such as cross site scripting.
For example, if a user entered this code into an HTML element:
Welcome <a href="javascript:window.alert("boo!")">my link</a> <script language="javascript">window.alert("boo 2!")</script> Click the link for a surprise.It would be changed to this when saved:Welcome <a href="<"- active content removed -->">my link</a> <"- active content removed --> Click the link for a surprise.
Parent topic:
Configure a Web content authoring environment