Develop > Presentation layer > Customize marketing > Work with Product Advisor
Generate a search space XML
The steps in this section explain how to generate a search space XML when creating a search space from WebSphere Commerce Accelerator.
Procedure
- Open the WebSphere Commerce configuration file.
- Set the value of the <GenerateXMLFile> tag to " true" <SearchSpaceConfiguration name="Search Space Configuration"> <CompatibilityMode value="true"/> <GenerateXMLFile value="true"/> </SearchSpaceConfiguration>
- Restart the WCS instance for the changes to take effect.
- Create a Product Advisor search space using an XML file
Results
The generated XML is specific to creating base search space for a category.
To create a separate search category using this XML, refer to the WebSphere Commerce online help. The name of the generated XML will be ss_ categoryID.xml, where categoryID is the category reference number for which the search space is created.
Related concepts
Related tasks
Create search space for Product Advisor
Delete base search space for a category
Delete separate search space for a category
Set a path for a search space XML
Related reference
Differences between separate and base search spaces
PACreateSearchSpaceBatchCmd scheduler command