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:
- 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.
- Copy the store archive file that you wish to add to the directory identified in step 1.
- 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:
- Open the SARRegistry.xml file. It is located in the following directory:
- WC_installdir/xml/tools/devtools
WCDE_installpath/Commerce/xml/tools/devtools
- 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.
- Verify that the new store archive is displayed in the appropriate view of the Publish wizard.