Change configuration properties for the Infrastructure component
To change configuration properties in the infrastructure component (wc-admin-component.xml) configuration file, we must create a customized version of the file in a new folder. The customized version of the file must contain the original file plus customizations.
Before starting
To understand the properties that this file contains, see Configuration properties in the infrastructure component.
Procedure
- Create a com.ibm.commerce.infrastructure-ext\ folder for our customized infrastructure component configuration file at the following path:
workspace_dir\WC\xml\config\com.ibm.commerce.infrastructure-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. Otherwise, complete these substeps:
- Navigate to the default infrastructure component configuration file at the following path: workspace_dir\WC\xml\config\com.ibm.commerce.infrastructure\
- Copy the wc-admin-component.xml file to the new workspace_dir\WC\xml\config\com.ibm.commerce.infrastructure-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 necessary for the site. Do not remove the unchanged properties from our customized file. The customized file must contain the changed and unchanged properties.
- Save and close the customized file.
- To update the changes in a development environment, start, or restart the test servers.
Related concepts
Customizing the infrastructure component
Configuration properties in the infrastructure component
Related reference
Customizing the SEO component configuration properties