Create a Virtual Catalog

Create a new virtual catalog based on the Commerce Catalog template.

Complete the following prerequisites:

Context for the current task

CAUTION:
Re-index the site immediately after changing catalogs. If the site is using an old index, new content will not appear and deactivated content will persist.
  1. Browse to the insertion point for the new catalog in the content tree: /sitecore/Commerce/Catalog Manager
  2. Request a catalog instance.
    Right click on Catalogs, select Insert > Insert from Templatefrom the context menu.
  3. Select a catalog template.
    Browse or search to /sitecore/templates/Commerce/Catalog/Commerce Catalog
  4. Name the new catalog instance.
    Enter a name in the Item Name dialog box and click Insert.
    If you select the new catalog in the tree list, you will receive the following error system error:An error occurred on the server during your operation. Try the operation again or contact your administrator if the error persists. The details are captured in the event log on the server.. Continue the following steps to resolve the error with the CreateCatalogAuthorizationStore.exe tool to update the azman policy file used by the CatalogWebService.
  5. Determine the SiteName.
    1. Open IIS Manager and select the application hosting the CatalogWebService.{MachineName}/Sites/{SiteName}_CatalogWebService)
    2. In the Actions window, click Explore to open the root directory of the web application hosting the CatalogWebService in Windows Explorer.
    3. Open the web.config file using notepad or the XML editor of your choice.
    4. Record the value of the siteName attribute on the configuration/CommerceServer/catalogWebService element. It contains the name of the site associated with the CatalogWebService.
  6. Determine the correct value for {PathTo-CatalogAuthorizationStore.xml}
    1. Open IIS Manager and select the application hosting the CatalogWebService.{MachineName}/Sites/{SiteName}_CatalogWebService)
    2. In the Actions window, click Explore to open the root directory of the web application hosting the CatalogWebService in Windows Explorer.
    3. Copy the path from the Windows Explorer browser bar and append CatalogAuthorizationStore.xml
      C:\inetpub\CSServices\SolutionStorefrontSite_CatalogWebService\CatalogAuthorizationStore.xml
  7. Resolve the error with the CreateCatalogAuthorizationStore.exe tool to update the azman policy file used by the CatalogWebService.
    • On Windows 8 or Windows Server 2012 , enter azman.msc at a command prompt and press Enter.
    • On an earlier version of Windows Server, enter cmd.exe at a command prompt and press Enter.
    1. Change directories.
      Enter c:\Program Files (x86)\Commerce Server 11\Tools and press Enter.
    2. Create an authorization store. Enter CreateCatalogAuthorizationStore.exe {SiteName} {PathTo- CatalogAuthorizationStore.xml} and press Enter.
    Any users that assigned to roles defined under Authorization Manager/CatalogAuthorizationStore.xml/CatalogandInventorySystem/Role Assignments have access to this catalog through the Sitecore Commerce 8.0 powered by Commerce Server and Commerce Server 11.2 Catalog Manager. .
  8. Save your changes.
    Click Save on the Home ribbon.
    Catalog Items are available in the content tree. If required, you can refresh the Catalogs node by collapsing it, then expanding it again.