Adding a new store archive to the Publishing utility in the Administration Console

In order to add a new store archive to the Publishing utility in the Administration Console, you have two options. You must have Site Administrator access to complete either of these tasks.

To add the new store archive to the default view of the Publishing utility, do the following:

  1. If the following directory does not already exist, create it:
    •  WC_installdir/instances/instance_name/sar
    • iSeriesWC_userdir/instances/instance_name/sar
    • WebSphere Commerce StudioWCStudio_installdir/Commerce/instances/instance_name/sar
  2. Copy the store archive file you want to add, to the directory created in step 1.
    Note: The ConsumerDirectBasic.sar is located in the following directory:
    •  WC_installdir/samples/stores/ConsumerDirect
    • WebSphere Commerce StudioWCStudio_installdir/Commerce/samples/stores/ConsumerBasic
  3. The new store archive will display in the default view of the Publishing utility.
     

To add the store archive to a particular view, do the following:

  1. If the following directory does not already exist, create it:
    • WC_installdir/instances/instance_name/sar
    • iSeriesWC_userdir/instances/instance_name/sar
    • WebSphere Commerce StudioWCStudio_installdir/Commerce/instances/instance_name/sar
  2. Copy the store archive file you want to add, to the directory created in step 1.
    Note: The ConsumerDirectBasic.sar is located in the following directory:
    •  WC_installdir/samples/ stores/ConsumerDirect
    • WebSphere Commerce StudioWCStudio_installdir/Commerce/samples/stores/ConsumerBasic
  3. Open the SARRegistry.xml file. It is located in the following directory:
    •  WC_installdir/xml/tools/devtools
    • WebSphere Commerce StudioWCStudio_installpath/Commerce/xml/tools/devtools
  4. Add a SampleStore element for the archive you are adding. For example:
    <SAR-properties>
        <SampleSAR fileName="ConsumerDirectBasic.sar" 
        relativePath="ConsumerDirectBasic">  
        <view name="ConsumerDirect"/> 
        </SampleSAR> 
        </SAR-properties>
    
  5. The file displays in the view specified in the SARRegistry.xml file.

For more information on adding the ConsumerDirectBasicStore.sar to the Publish utility, see Adding the Basic store store archive to the Administration Console.