Develop > Presentation layer > Customize marketing > Work with Product Advisor
Set a path for a search space XML
The steps in this section refer to setting a path for the search space XML file.
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_EAR\properties\com\ibm\commerce\tools\productadvisor\properties in an editor.
- Change the value of ssXMLFilePath to the path where to save the generated XML, for example ssXMLFilePath =E:/WebSphere/wcs/samples/pa/xml
Results
- Verify 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_INSTALL\xml\tools\pa.
- If a non root user runs the WCS 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.
Related concepts
Related tasks
Create search space for Product Advisor
Related reference
PACreateSearchSpaceBatchCmd scheduler command