Samples > Sample stores > Extended Sites starter store > Create a new asset store


Publish the new asset store

Before the new asset store can be published using the Site Administration Console, it must be added to the SARRegistry.xml file.


Procedure

  1. Add the customized asset store to the SARRegistry.xml file:

    1. Edit...

      • WC_INSTALL/xml/tools/devtools/SARRegistry.xml

      • workspace_dir/wc/xml/tools/devtools/SARRegistry.xml

    2. Search for the following string: <!-- Reseller Hosting -->

      The following entries are for the Extended Sites sar files:

      <SampleSAR fileName="ExtendedSites.sar"
      relativePath="ExtendedSites">
      <view name="ResellerHosting"/>
      <view name="default"/>
      </SampleSAR> 102 Extended Sites in WebSphere Commerce V5.6.1
      <SampleSAR fileName="ExtendedSitesOrganizationStructure.sar"
      relativePath="ExtendedSites">
      <view name="ResellerHosting"/>
      </SampleSAR>
      <SampleSAR fileName="ExtendedSitesCatalogAssetStore.sar"
      relativePath="ExtendedSites">
      <view name="ResellerHosting"/>
      </SampleSAR>
      <SampleSAR fileName="B2BDirectStorefrontAssetStore.sar"
      relativePath="ExtendedSites">
      <view name="ResellerHosting"/>
      </SampleSAR>
      <SampleSAR fileName="ConsumerDirectStorefrontAssetStore.sar"
      relativePath="ExtendedSites">
      <view name="ResellerHosting"/>
      </SampleSAR>
      <SampleSAR fileName="StoreDirectory.sar"
      relativePath="ExtendedSites">
      <view name="ResellerHosting"/>
      </SampleSAR>
      <SampleSAR fileName="ExtendedSitesHub.sar"
      relativePath="ExtendedSites">
      <view name="ResellerHosting"/>
      </SampleSAR>
      

    3. Copy one complete SampleSAR entry and add the copy to the bottom of this section in the file.

    4. Change the file name to match the file name of your new sar file. For example, CustomB2CStorefrontAssetStore.sar:

      <SampleSAR fileName="CustomB2CStorefrontAssetStore.sar"
      relativePath="ExtendedSites">
      <view name="ResellerHosting"/>
      </SampleSAR>
      

    5. Save the file and close the text editor.

  2. Publish the customized asset store:

    1. Open the WebSphere Commerce Administration Console, selecting the Site option.

    2. From the Store Archives menu, select Publish. This opens the Store Archives page.

    3. From the View list box, select Extended sites. You should see the new asset store archive file in the list.

    4. Select it and click Next. This opens the Parameters page.

    5. Click Next. This opens the Summary page.

    6. Click Finish to begin the background publishing process.

    7. You can click Refresh to update the Publish Status field.

  3. When the Publish Status is Successful, you can log off of the Site Administration Console.

    Do not attempt to launch the store as no working store has been created yet.


+

Search Tips   |   Advanced Search