2019.2

Table Of Contents
sections in different contexts have the same name, it is safer to use
merge.template.contexts.ContextType.sections["section name"].
Fields
Field Type Description
"background" on
page883
Background Print sections only. Used to set a PDF
background on a Print section. See "Control Script:
Setting a Print section's background" on page419
and "BackgroundResource" on page893.
enabled Boolean Enables or disables this Print or Web section for
output (see "Examples" on page911). Note that
even if a section is disabled, the part and
restartPageNumber fields are still effective to
define the parts division and page numbering over
multiple sections when applicable.
The default enabled state for sections (before any
control script runs) is as follows:
For Email channel requests on the Print context all
Print sections are enabled by default. It is possible
to enable different or multiple sections to control
which sections will be attached to the email.
For Print channel requests on the Print context all
sections are enabled by default.
headers String DEPRECATED. Use the addHeader() function
instead.
Email sections only. Used to set custom email
headers.
margins Margins Print sections only. Used to set the print margins
of a section. You can set the bottom, left, right and
top margin using a Measurement string; for
example, "2in" sets a margin to two inches.
Page 908