WebSphere Commerce Enterprise

Creating store relationships

Create your store relationships in the format of XML files that can be loaded into the database using the loading utilities.

About this task

Note: If you use the Store Creation wizard to create stores, or service agreements to create distributor proxy stores many of these store relationships are created for you.

To create store relationship assets:

Procedure

  1. Create an XML file that follows the wcs.dtd file. The DTD file is located in the following directory:
    • WC_installdir/schema/xml
    • WebSphere Commerce Developerworkspace_dir/wc/xml/sar/
  2. Using the following example as your guide, define a store entity in your XML file for the STOREREL table.
    
    <storerel
     store_id="@storeent_id_1"
     relatedstore_id="@storeent_id_2"
     streltype="-4"
     sequence="0"
     state="1"
    />