2022.1

Table Of Contents
Field Type Description
Note! In Control Scripts, merge.section is not
available.
To retrieve any section in a Control Script, use:
merge.template.contexts.ContextType.Section
['Section name']; (for example:
merge.template.contexts.PRINT.sections["Section
EN"]).
In Post Pagination Scripts, only Print sections are
available.
"template"
on page946
Template This object contains the template and all of its
contexts. It can be used to find out which contexts are
available in the template, using
merge.template.contexts (see "context" on
page955) and to manipulate the sections in those
contexts (see "section" on page964).
template
The template object represents the template with all its contexts and sections. It is used
frequently in Control Scripts (see "Control Scripts" on page425 and "Control Script API" on
page917) but it can also be used in Standard Scripts.
It is retrieved via the merge object: merge.template (see "merge" on page975).
Which contexts are available in the template can be queried using merge.template.contexts.
To get access to a specific context, you have to specify the ContextType (see "ContextType" on
page951).
Field Type Description
contexts Array Array of contexts (see "context" on
page955) available in the template. The
contexts contain the sections (see "section"
Page 820