Adding a new store archive to the Publish wizard

You can add a store archive to the Publish wizard in either the default view, or in a particular view. You must have Site Administrator access to complete either of these tasks.

To add the new store archive to the default view:

  1. Open the WebSphere Commerce configuration file and locate the SarPath attribute of the DevTools element. If the directory specified by this attribute does not already exist, create it.
  2. Copy the store archive file that you wish to add to the directory identified in step 1.
  3. Verify that the new store archive is displayed in the Default view of the Publishing utility.

To add the store archive to a particular view:

  1. Open the SARRegistry.xml file. It is located in the following directory:
    • WC_installdir/xml/tools/devtools
    • WebSphere Commerce development environmentWCDE_installpath/Commerce/xml/tools/devtools
  2. Add a SampleSAR element for the archive you are adding; for example:
     <SampleSAR fileName="ConsumerDirect.sar" relativePath="ConsumerDirect">  
      <view name="ConsumerDirect" />
      <view name="default" />
     </SampleSAR>
    

    where:

    • fileName is the name of the store archive.
    • relativePath is the directory path relative to the sampleSarPath attribute of the DevTools element in the WebSphere Commerce configuration file.
    • name is the name of the view that the store archive will display in from the Publish user interface. Note that a store archive may display in multiple views. For example, ConsumerDirect.sar will display in both the Consumer Direct view and the default view.
  3. Verify that the new store archive is displayed in the appropriate view of the Publish wizard.

Feedback