Document Tree
Document Properties
Kbid
M24801
Last Modified
04-Feb-2020
Added to KB
26-Jun-2013
Public Access
Everyone
Status
Online
Doc Type
References
Product
  • ICM 7.10
  • ICM 11
  • ICM 12
ISML Custom Tag - ISVIEWCONTEXT

Name

ISVIEWCONTEXT

Short Description

The module to trigger object rendering via view contexts in ISML.

Table of Contents

 

 

Product Version

7.1

Product To Version

 

Status

Introduction

If an object is to be rendered within an ISML template, it has to be passed onto the corresponding render artifact. The ISML module does not specify an explicit parameter for the object. The context object relation of the respective view context has to specify the object as one of its call parameters. The object is then expected to be available as entry in the pipeline dictionary of the invocation environment with a key similar to the call parameter name.

The module to trigger object rendering via view contexts in ISML is <ISVIEWCONTEXT>.

Syntax

<ISViewContext
(
  ViewContext = "( {ISML expression} )"
  ID = "( {String} | {ISML expression} )"
  ResourceSet = "( {String} | {ISML expression} )"
)>

Example

<ISViewContext ViewContext="#PageletConfigurationParameters:ProductView#">

or

<ISViewContext ID="a.systemmanaged.viewcontext.include.pagelet2-ViewContext" ResourceSet="a_cartridge">

Attributes

One of the two optional parameters (ViewContext or ID) has to be present when the module is executed. The module expects the ID of a view context instance or a ViewContext may be passed directly to the module.

Starting with Intershop 7.6

With Intershop 7.6 the new attribute ResourceSet has been introduced that is now a required companion to the ID parameter.

If <ISVIEWCONTEXT> is used with an ID but without a given ResourceSet an error is logged and the rendering of the view context will not work.

ViewContext

The view context instance ready for rendering.

ID

The identifier being part of the semantic key of the view context. The content repository domain is detected automatically.

ResourceSet

Note

Valid for Intershop Commerce Suite 7.6 or later.

Usually the cartridge ID of the context object relation that uniquely identifies a system-managed view context. If ID is not denoting a system-managed view context, use the cartridge ID displayed in the View Contexts list hover shown in the Commerce Management application.

Reference - ISML Custom Tags

Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.