2018.2

Table Of Contents
Object or
function
Usage
on page776 only.
merge.section.
"paginate()" on
page789
A call to merge.section.paginate() triggers pagination of the
current section.
"PaginationInfo"
on page777
This object contains essential information about one element in order to
create a table of contents (see "Creating a Table Of Contents" on
page385).
results."info()"
on page782
A call to results.info() returns pagination information (see
"PaginationInfo" on page777) for the first element in the result set of a
query (see "query(selector)" on the facing page).
Other objects that are available to Post Pagination Scripts
The list above isn't exhaustive: the objects listed in the Designer API (see "Standard Script
API" on page691) and in the Control Script API (see "Control Script API" on page749) are also
available in Post Pagination Scripts.
context
In a Control Script, the context object represents one 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
sections Array
Array of sections (see "section" on page782) inside a
particular context defined in the template.
Note: When using merge.context.sections keep in mind that
Page 775