Sitecore Experience Commerce

Commerce Views service

The Commerce Views service is provided by the Sitecore.Commerce.Plugin.Views plugin.

The Commerce Views plugin provides a data-driven mechanism for servicing a dynamic business experience. The views provide a mechanism for narrowing or translating data from core entity storage into a dynamic API that can be directly leveraged by the business experience.

Typical model-view-controller architectures have a view layer that translates complex internal storage artifacts into a simpler form, to be consumed by a user experience. In many cases, each individual client type (e.g., web, mobile) has its own view layer where data is transformed into a viewable form.

In the Sitecore XC architecture, this view layer is provided on the server side, instead of the client side. This allows standard Commerce plugins to extend existing views and add new views.

Commerce views are also dynamic, which means they are progressively built up by plugins in a pipeline. You can develop plugins that extend views without breaking the API.

Commerce views are also designed to feed directly into a dynamic data-driven business tool experience. You can activate, extend, or remove functionality in the business tools through custom-developed plugins, without having to modify the out-of-box plugins or modify the source code of the business tools themselves. This approach dramatically improves upgradability.