Adventure Works Catalog Import Export

Hi All,

I am a beginner in CS 2007. I wanted to start changing few things in the CS 2007 Starter Site.

I wanted to know that if I remove the Adventure Work's Catalog then can I actually import it back? I have seen a facility in the menu of import, so I presume that would do it. But would the Adventure Work's Catalog be restored exactly as it was configured when I configured the Starter Site or do I need to do some other configuration once I have imported it back.

Also does any one know a way of hiding a catalog or specific products in a catalog could be hidden?

Many thanks,
Shriroop.

[628 byte] By [Shriroop] at [2008-2-2]
# 1

The starter site contains the AdvworksCatalog.Xml file which contains the Adventure works catalog. You cn import it from the Catalog Manager UI and set the Replace option which will import the original catalog.

The hide catalog feature is not available by default. One thing you can do is

1. Create a property say IsCatalogActive

2. Add it to the Catalog metadata

3. Set the IsCatalogActive=0 for catalogs you want hidden. When you get the list of catalogs on the site add the IsCatalogActive=1 condition so that only active catalogs are displayed.

4. For the starter site you can modify the definition of the "Register USers Default Catalogset" and "Anonymous Users Default Catalogset" to include IsCatalogActive=1 instead of all catalogs and the starter site should only display the active (non hidden )catalogs

All the above can be accomplished using the CatalogManager and CatalogSchema Manager

VinayakTadas-MSFT at 2007-9-4 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 2

Hi Vinayak,

Many thanks for this. This absolutely works perfect.

I did have some hickups while importing an exported catalog but did manage a way around it some how.

Much appreciate the help.

Regards
Shriroop.

Shriroop at 2007-9-4 > top of Msdn Tech,Commerce Server,Commerce Server 2007...