2020.2

Table Of Contents
Field Type Description
pageCount
Number The total number of pages in this section.
pageEnd
Number
The index (1-based) of the last page in this section.
pageStart
Number The index (1-based) of the first page in this section.
sheetCount
Number The total number of sheets in this section.
sheetEnd
Number
The index (1-based) of the last sheet in this section.
sheetStart
Number
The index (1-based) of the first sheet in this section.
merge
In Control Scripts, the root level instance of the object merge is the entry point from where you
can query and change the way contexts are merged. It gives access to the template with all its
contexts and sections.
For more information about Control Scripts, see "Control Scripts" on page890 and "Control
Script API" on page1379.
Some of the objects are also useful in Post Pagination Scripts; see "Post Pagination Scripts"
on page906 and "Post Pagination Script API" on page1415.
For sample scripts, follow the links to the respective objects.
Field Type Description
channel "Channel"
on
page1412
The final output channel: EMAIL, PRINT or WEB. The
channel doesn't change when the output consists of different
contexts. When generating an email, for example, the
channel is EMAIL, even when merging the Print context to
attach it to the email.
"context"
on
page1417
Context The context rendered by this merge run. If for one record,
different contexts need to be output (for example, when the
Print context is attached to an email) a record is merged
multiple times: once per context. Per merge run,
Page 1437