1.4

ContextType
This is an enumeration for the context types.
Value Description
HTML_EMAIL The context is the Email context
PRINT The context is the Print context
WEB The context is the Web context
Merge
The root level instance of the object merge is the entry point in Control Scripts for the objects
and references required to query and modify various aspects.
Field Type Description
context Context The context rendered by this merge pass.
channel Channel The channel for which this merge pass is requested.
section Section The section being merged. Only available from non-control
template scripts AND when the output channel is WEB
(merge.channel == Channel.WEB) where it defines the requested
page.
template Template Template containing the context. This field can be used to find out
which contexts are available in the template.
Context
Context is an object representing the respective context in the template. Which contexts are
available in the template can be queried using merge.template.contexts. The context being
merged can be queried using merge.context.
Field Type Description
Page 62