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 Page Layout 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:
- Install WebSphere Commerce Version 7 Feature Pack 6.
- 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:
- Enable starter store enhancements. Use the script to enable the software assets for the SEO features. For more information about SEO, see SEO for Version 7 Feature Pack 3 or later.
- 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.