Retail online store publishing architecture
This topic applies to Dynamics 365 for Retail and Dynamics 365 for Finance and Operations.
This topic contains conceptual information to help developers and system administrators understand how channels and catalogs are published from the retail module to an online store in Microsoft SharePoint 2013 Products. Understanding the publishing process can help you develop, manage, and troubleshoot your Retail online store.
Publish a Retail online store channel
When you publish a Retail online store channel, you replicate the basic structure of your online store between Microsoft Dynamics 365 for Retail and Microsoft SharePoint. You create the basic structure of your online store channel in the Retail module. Before you can publish an online store channel, you must complete the following setup tasks:
- Add the online store to the organization hierarchy.
- Create the online store and configure properties.
- Configure the category hierarchy of your site.
After you've completed these steps, you're ready to publish the product schema to the online store.
- You create the online store and publish it from the Online stores page. The status is changed from Draft to In progress.
- Finances and Operations takes a snapshot of the category hierarchies (the Retail hierarchy) and properties.
- Commerce Data Exchange: Async Server reads information about the online store, hierarchies, and properties in the Retail store database, and sends that information to the commerce runtime (CRT).
- Async Server synchronizes the tables in the channel database.
- The Retail publishing job runs from the CRT application programming interface (API) and creates hierarchies for the site that you created in the online store.
- Commerce Data Exchange: Real-time Service receives the status of the Retail publishing job actions from the CRT API and publishes that status. The status is either Published or Error.
For the specific procedures to publish a channel, see Set up an online store. After you've published the channel, you can publish a catalog.
Publish a Retail online store catalog
A retail product catalog lets you identify the products that you want to offer in your online stores. When you create a catalog, you identify the online stores where the products will be offered, add products, and enhance the product offerings by adding merchandising details. After the catalog is approved, you publish it to make products available in the online store. Before you can publish a retail product catalog, you must complete the following setup tasks:
- Set up retail products, and configure hierarchies, assortments, and variants.
- Set up retail product catalogs, and configure attribute groups and workflow.
After you've completed these steps, you're ready to publish the Retail online store catalog.
- Finances and Operations reads the product tables in the Retail database.
- Async Server synchronizes all products in the channel database.
- The CRT/Publishing Connector creates a listing. A listing is an instance of a product for a channel at a given point in time. For example, you have a product that is named “jeans”, and this product has a variant that is named “red”. In this case, the system creates a listing for “red jeans”.
- The system determines whether any new attributes were added for the listing. If new attribute were added (for example, if the “red jeans” listing includes a new attribute that is named texture, and this attribute is marked as Included at the channel level), the system creates a custom site column for that attribute. The system also creates a new rule for the list item and completes the process in SharePoint by creating a new row for the “red jeans” listing.
- The CRT records the publishing status for the listing.
- Async Server synchronizes the publishing status of the listing with all other publishing statuses. The status is either Published or Error.