2018.2

Table Of Contents
section.sheetConfig.positions.all.masterBack = undefined; // or
null, or an empty string
The following script ensures that empty backsides of single sheets are omitted.
let section = merge.template.contexts.PRINT.sections["Section 1"];
section.sheetConfig.positions.single.omitMasterOnEmptyBackside =
true;
template
The template object represents the template with all its contexts and sections. It is used
frequently in Control Scripts (see "Control Scripts" on page369 and "Control Script API" on
page749).
It is retrieved via the merge object: merge.template (see "merge" on page753).
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
page772).
Field Type Description
contexts Array Array of contexts (see "context" on page775)
available in the template. The contexts contain
the sections (see "section" on page782).
masterpages Array Array of Master Pages available in the template.
"media" on
page752
Array Media available to this template (see "Media" on
page139). For each of them you can specify,
enable and position the stationery's front and
back.
"properties"
on the next
page
Properties
This object contains all default properties of the
template as well as any custom properties. (On
the menu, select File > Properties to view and
complement the file properties. See File
Properties).
Page 768