To set the path for the search space XML file that is generated when a search space is created, do the following:
- Open the ProductAdvisorKeys.properties file from WAS_installdir\ installedApps\ WC_Enterprise_App_instance_name.ear\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
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\samples\pa\xml.
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.