Administer > Overview of administering a WebSphere Commerce site > Administration Console > Scheduler > Jobs > Product Advisor cycle
PAXMLExportBatchCmd scheduler command
This scheduler command exports all Product Exploration, Product Comparison, and Guided Sell metaphors of all the categories in a store. The metaphors are exported in XML format and can be used by the PACreateMetaphorBatchCmd scheduler command to recreate the metaphors.
Parameter values
- storeId
- Required: The reference number of the store associated with the metaphors to export.
- xmlFileName
- Required: The name of the output XML file with the fully qualified path. The XML file is created in the machine where you have installed WebSphere Commerce For example,
WCDE_INSTALL\samples\pa\xml\PE_PC_GS_60001.xml
Behavior
- Exports the Product Exploration metaphor, Product Comparison metaphor and Guided Sell metaphor to the specified file.
Exception conditions
- If the input parameters are wrong, then the command throws the ECApplicationException
- If the file name provided for the xmlFileName parameter is not valid, then the command fails.
- If a non root user runs the WCS instance but does not have the relevant write permissions for the folder that holds the input XML file, then the command fails.
Related concepts
Related tasks
Create a Product Comparison metaphor
Create a Product Exploration metaphor
Related reference
PACreateSearchSpaceBatchCmd scheduler command
PACreateMetaphorBatchCmd scheduler command