Setting a path for a search space XML
The steps in this section refer to setting a path for the search space XML file.
About this task
To set the path for the search space XML file that is generated when a search space is created:
Procedure
- Open the ProductAdvisorKeys.properties file from WC_eardir\properties\com\ibm\commerce\tools\productadvisor\properties in an editor.
- Change the value of ssXMLFilePath to the path where you want to save the generated XML, for example ssXMLFilePath =E:/WebSphere/wcs/samples/pa/xml
Results
Important:
- Ensure that the XML file path that you are specifying already exists and is the fully qualified path. If the specified XML path does not exist or the parameter is left blank, then the generated XML is saved in WC_installdir\xml\tools\pa.
- If a non root user runs the WebSphere Commerce instance but does not have the relevant write permissions for the folder where the output XML file is created, then the command fails.
- If the instance user profile does not have the permissions to create the file in the specified folder, the command will fail.