Adding in-context preview support for a new business object
In-context preview leverages the URL information of an object to be able to directly preview the business object in the storefront. To add in-context preview support for additional business objects, you must define a service call to retrieve the URL information and ensure that the information is returned in a specific format.
Note: By default, in-context preview only functions for catalog objects and store page objects in
the Catalogs tool and Commerce Composer tool respectively if SEO is enabled. Otherwise, store
preview always opens to the home page, rather than to a specific store page. In-context preview is
also supported for stores that use dynamic URLs, but it is recommended to use SEO-friendly
URLs.
Before you begin
- Ensure that you are familiar with the Functional flow for the in-context preview function.
- Ensure that you completed the following tasks:
- Ensure that you have a web service that returns the URL information for the new business object.
If you want to use SEO-friendly URLs for in-context preview, complete the following tasks:
- If your store has sales catalogs, for in-context preview to function on your sales categories, you must Enable SEO with sales catalogs and extended sites.
- Ensure that you have a web service that returns the URL information for the new business object.
If you want to use SEO-friendly URLs for in-context preview, complete the following tasks: