(Developer)
enableContentManagement utility
The development environment is not meant to be an authoring environment. Support is provided in the environment for customization purposes only. For example, to test changes to the content management functionality. The ability to propagate changes is not available. To change the content management workspaces, we cannot publish the changes out to another database. Before you enable workspaces in the WebSphere Commerce development environment, ensure that:
- Change history is enabled in your development environment. Complete the following steps to enable it:
- Go to the WCDE_installdir/workspace/WC/xml/config/wc-server.xml.
- Open wc-server.xml and find <WorkspaceChangeHistoryEnabled enable="false"/>.
- Edit the settings to the following values: <WorkspaceChangeHistoryEnabled enable="true"/>.
- Save and close the file. Then, restart the server.
Parameter values
- number_of_workspaces
- Use the number_of_workspaces parameter if we are enabling workspaces in the WebSphere Commerce development environment for the first time.
Enter the maximum number of workspaces we want on the authoring environment. Ensure that the number of workspaces that are allocated is sufficient to handle the number of concurrent workspace activities that might occur.
The maximum number of workspaces is the maximum number of simultaneous activities that require data isolation. Multiple stores managed by the same organization can share a workspace. For instance, to work on two future events simultaneously and provide regular updates and a data-isolated area in which to complete emergency fixes, you need four workspaces per organization.
The maximum number of workspaces specifies the number of database schemas that are allocated for workspaces. The number of allocated database schemas remains fixed. If a Workspace Manager creates more workspaces than the number of workspace database schemas available, task groups in workspaces without an available database schema cannot be activated until another workspace is completed or canceled.
- addWorkspace
- Use the addWorkspace parameter if workspaces is already enabled in the WebSphere Commerce development environment.
- Specify the number of additional workspaces to create.
Example
From the following directory:
- WCDE_installdir\bin
Run the following command:
WCDE_installdir/bin/enableContentManagement.bat number_of_workspaces addWorkspaceIf you encounter errors when you run the utility, review the enableContentManagement.log file for more detailed troubleshooting information. This file can be located within the following directory:
- WCDE_installdir\logs