Develop > Presentation layer > WebSphere Commerce integration with WebSphere Portal > Integrate WebSphere Commerce Extended Sites with WebSphere Portal


Extended site asset store in WebSphere Portal

An extended site asset store is one that contains collections of sharable resources, such as view templates, that can be leveraged in other stores. There are two types of store assets that can be managed by a WebSphere Commerce portlet:


Dynamic view templates

To manage dynamic templates in an extended site, it is necessary to store files in a directory structure that allows for the quick and easy identification of the files and which stores they belong to. The file directory path is constructed based on a WebSphere Commerce store identifier, storeId.

Each URL reference defined on the WebSphere Commerce portlet JSP page is calculated using the following information and settings:

Where:


Static content asset files

All static content asset files, such as images and static HTML, can be included in the portlet application for ease of installation and deployment. The method of calculating the store relationship is the same as the one used for dynamic view templates.

In addition to this, external references to these static contents are also available using a URL reference. This URL reference is a programmatic name that is bounded to a URL object which can be set through the WAS administrative console, with a default JNDI name url/com/ibm/commerce/foundation/client/portal/ExternalContent. However, this JNDI name can be overridden by defining a portlet preference called .ExternalContentURLReference. See Define references to static content in an MVCPortlet JSP file for more information.


+

Search Tips   |   Advanced Search