2019.1

Table Of Contents
Custom properties can be utilized for further processing in a Workflow configuration with the
Retrieve Items task. The Retrieve Items task retrieves custom properties along with the base
record information (see Retrieve Items in Workflow's Online Help).
If you want to add production information - such as the page, size, and position of elements at
the end of the merge process - to the properties, you have to write a Post Pagination Script
(see "Post Pagination Scripts" on page405).
Field Type Description
properties Properties
Key-value pairs containing custom properties.
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847) inside a
particular context defined in the template.
Note: When using merge.context.sections keep in mind that
for example 'Section X' might only exist in your Print context,
so using merge.context.sections['Section X'] without
enclosing it in the if statement if (merge.context.type ==
ContextType.PRINT) {} will yield an error when the script
runs for other contexts.
Alternatively, use the template object to access a specific
context: merge.template.contexts.PRINT.sections
['Section X'].
type "ContextType"
on page836
The context type: PRINT, EMAIL or WEB.
Page 840