Before your new asset store can be published using the Site Administration Console, it
must be added to the SARRegistry.xml file.
Procedure
-
Add your customized asset store to the SARRegistry.xml file:
-
Open the following file in a text editor:
WC_eardir/workspace/WC/xml/tools/devtools/SARRegistry.xml
-
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>
-
Copy one complete SampleSAR entry and add your copy to the bottom of this section in the
file.
-
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>
-
Save the file and close the text editor.
-
Publish your customized asset store:
-
Open the WebSphere Commerce Administration Console, selecting the
Site option.
-
From the Store Archives menu, select Publish. This opens the Store
Archives page.
-
From the View list box, select Extended sites. You should see your new
asset store archive file in the list.
-
Select it and click Next. This opens the Parameters page.
-
Click Next. This opens the Summary page.
-
Click Finish to begin the background publishing process.
-
You can click Refresh to update the Publish Status field.
-
When the Publish Status is Successful, you can log off of the Site Administration
Console.
Note: Do not attempt to launch the store as no working store has been created
yet.