2022.1

Table Of Contents
Object Description
current element in the loop.
This object is not available in Control Scripts, because that type of script
doesn't have a selector (see "Control Scripts" on page954).
"record" on
page1381
The record in the main data set that is currently being merged. To get
the value of a field in the record, use record.fields['fieldname'] or
record.fields.fieldname.
"logger" on
page1366
Global object that allows you to log messages.
locale Defines which locale to use. (See "Locale" on page828.) Note that the
value is read-only.
"formatter" on
page1350
Global object that allows you to format values (such as a date or
number).
"automation" on
page1468
This object encapsulates the properties of the Workflow process that
triggered the current operation. Not available in PrintShopMail Connect.
"merge" on
page1526
The merge object is mainly used in Control Scripts. It gives access to the
template with all of its contexts, sections and runtime parameters. It
doesn't give access to the content of the sections. To change the
content of a section, you would create a script with a selector and use
the results object in the script (see "results" on page1509).
"contentitem" on
page1505
(Print output only.) The contentitem object holds the Print Content Item
that is written to the Connect database when generating Print output. It
allows you to add custom properties to the Print Content Item, in the
form of key-value pairs (a JSON string).
Note: The contentitem object is not available in PrintShopMail
Connect, due to the absence of a Connect database.
Page 1344