I thought I'd share this quick and dirty way to load the Adventure Works catalog into Commerce Server 2007 so that you can use it with the Starter Site. This catalog, along with the Start Site, is a great way to familiarize yourself with well designed catalog and how it interacts with Start Site.
This procedure assumes that you've downloaded the Starter Site, and unpacked it to the default location. Also, it assumes that you've setup the Business Management Applications to interact correctly with the Commerce Server web services, which in turn assumes you've configured security for the web services through Azman.msc appropriately.
Make sure that your CatalogSets allow anonymous and registered users to view your new catalog. This CatalogSets determine which catalogs users have access to view and interact. Click the CatalogSets link under Views, and double-click the Anonymous User Default CatalogSet. Click the Add All Catalogs check box, and click the Refresh button. You should see your Adventure Works catalog in the Included Catalogs list box. Click Save and Continue, and do the same thing for the Registered User Default CatalogSet.
Now that you have successfully imported the Adventure Works catalog and setup the CatalogSets, click the Refresh Site Cache button. If you have problems updating the Site Cache, be sure to read the following article: http://msdn2.microsoft.com/en-us/library/aa546079.aspx. An alternative is to run IISRESET from the command line, which forces the Web site to reload its cache, but I recommend you configure your sites appropriately so that the Refresh Site Cache functions.
Before you try to run the Starter Site and see browse your catalog, let's grab some some of the files within the AdvWorksImages.cab from the C:\Program Files\Microsoft Commerce Server 2007\Sdk\Samples\Catalog folder.
Now you're ready to browse the Adventure Works catalog. Take the time to browse products on the Web site, as well as the catalog itself. Try creating some product relationships for cross- and up-sell opportunities, as well as new products. Be sure to refresh your site cache, or you won't see your changes reflected on the Web site.
If you want to be able to add items to your cart, then you'll have to add your Adventure Works catalog to an inventory catalog. Under the Catalog Manager, either create a new inventory catalog, or add your Adventure Works catalog to the default catalog. Once this is done, you'll then have to go back to your Adventure Works catalog and add inventory quantities to your items. I'll save this process for a future blog.
Best of luck!
Remember Me
a@href@title, b
Page rendered at Tuesday, January 06, 2009 8:12:32 AM (Central Standard Time, UTC-06:00)
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.