Create a new virtual catalog based on the Commerce Catalog template.
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.
-
Browse to the insertion point for the new catalog in the content tree:
/sitecore/Commerce/Catalog Manager
-
Request a catalog instance.
Right click on Catalogs, select from the context menu.
-
Select a catalog template.
Browse or search to /sitecore/templates/Commerce/Catalog/Commerce
Catalog
-
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.
-
Determine the SiteName.
-
Open IIS Manager and select the application hosting the
CatalogWebService.{MachineName}/Sites/{SiteName}_CatalogWebService)
-
In the Actions window, click
Explore to open the root directory of the web
application hosting the CatalogWebService in Windows Explorer.
-
Open the web.config file using notepad or the XML editor of your
choice.
-
Record the value of the siteName attribute on
the
configuration/CommerceServer/catalogWebService element.
It contains the name of the site associated with the
CatalogWebService.
-
Determine the correct value for
{PathTo-CatalogAuthorizationStore.xml}
-
Open IIS Manager and select the application hosting the
CatalogWebService.{MachineName}/Sites/{SiteName}_CatalogWebService)
-
In the Actions window, click
Explore to open the root directory of the web
application hosting the CatalogWebService in Windows Explorer.
-
Copy the path from the Windows Explorer browser bar and append
CatalogAuthorizationStore.xml
C:\inetpub\CSServices\SolutionStorefrontSite_CatalogWebService\CatalogAuthorizationStore.xml
-
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.
-
Change directories.
Enter c:\Program Files (x86)\Commerce Server
11\Tools and press Enter.
-
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. .
-
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.