Change properties in the marketing component configuration file (wc-admin-component.xml)
To change any properties in the marketing component configuration file (wc-admin-component.xml), we must create a customized version of the file in a new folder. The customized version of the file must contain only the changed properties.
Before beginning
To understand the properties that this file contains, see Marketing component configuration files (wc-admin-component.xml).
Procedure
- Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
- Create a com.ibm.commerce.marketing-ext folder for our customized marketing component configuration file at the following path:
workspace_dir\WC\xml\config\com.ibm.commerce.marketing-ext\
If this folder exists and contains a customized version of the wc-admin-component.xml file, or if a customized version exists elsewhere, open the customized version and skip to the next step. If the folder does not exist and contain a customized version, complete these substeps:
- Go to the default marketing component configuration file at the following path:
workspace_dir\WC\xml\config\com.ibm.commerce.marketing\
- Copy the wc-admin-component.xml file to the new \xml\config\com.ibm.commerce.marketing-ext\ folder.
- Open the copied wc-admin-component.xml in an editor. This copy becomes the customized version of the wc-admin-component.xml file.
- Change any properties as required for the site.
If our customized marketing component configuration file already exists, and if we want to change additional properties that are not currently in the customized file, we can copy those properties into our customized file from the default marketing component configuration file at workspace_dir\WC\xml\config\com.ibm.commerce.marketing\wc-admin-component.xml.
- Within the <_config:configgrouping name="MarketingRuntime"> element, remove any properties that are not set differently from the default marketing component configuration file. The customized file must contain only the differences.
- Save and close the customized file.
- To update the changes in a development environment, start, or restart the test servers.
Related reference
Marketing component configuration files (wc-admin-component.xml)