Develop > Presentation layer > Customize marketing > Work with Product Advisor
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 where the output XML file is created, then the command fails.
- If the instance user profile does not have the permissions to create the output XML file in the specified folder, the command will fail.
Related concepts
Related tasks
Create a Product Comparison metaphor
Create a Product Exploration metaphor
Create a Guided Sell for a category
Related reference
PACreateSearchSpaceBatchCmd scheduler command
PACreateMetaphorBatchCmd scheduler command