Migrate, installing and configuring > Install WebSphere Commerce > Installing WebSphere Commerce feature packs > Installing WebSphere Commerce feature packs > Enable features
Enable Coremetrics analytics for WebSphere Commerce Sales Center
You can enable Coremetrics analytics for WebSphere Commerce Sales Center by running a script.
- Ensure that WebSphere Commerce Feature Pack 2 is installed.
To check if WebSphere Commerce Feature Pack 2 is installed or enabled on the machine, see Troubleshooting the WebSphere Commerce Feature Pack.
- Ensure the Coremetrics enhanced Web analytics is enabled.This was included in WebSphere Commerce Feature Pack 1.
- Ensure the latest Coremetrics fix is installed.
- Start the WebSphere Commerce instance or WebSphere Commerce Developer test server.
- Run the enablement script to deploy new assets...
cd WC_INSTALL/bin ./config_ant.sh -buildfile WC_INSTALL/components/common/xml/enableFeature.xml -DinstanceName=instance -DfeatureName=cm-salescenter -DdbUserPassword=db_password
Results
When the Coremetrics analytics for WebSphere Commerce Sales Center feature has been successfully enabled, a message such as, "Build Successful" is displayed on the command prompt.If the build has not been successful a message such as this one displays:
BUILD FAILED file:/opt/WCS60/components/common/xml/serverEnablementTasks.xml:119: Java returned: 105
Related concepts
Sales Center reports in Coremetrics
Sales Center reports in Coremetrics
Related tasks
Disable Coremetrics analytics for Sales Center
Install WebSphere Commerce feature packs