Deprecated featureDeprecated feature

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 you want 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_installdir\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.
  • SolarisLinuxAIX If a non root user runs the WebSphere Commerce instance but does not have the relevant write permissions for the folder that holds the input XML file, then the command fails.