2019.1

Table Of Contents
Object Description
"formatter"
on
page1261
Global object that allows you to format values (such as a date or number).
"automation"
on
page1282
This object encapsulates the properties of the Workflow process that
triggered the current operation. Not available in PrintShopMail Connect.
"merge" on
page1286
The merge object is mainly used in Control Scripts. It gives access to the
template with all of its contexts and sections. 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 page1314).
"contentitem"
on
page1311
(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.
Global functions
Function Description
"fatalError
(message)" on
page1259
Triggers a fatal error that aborts content creation.
"loadhtml()" on
page1268
Loads HTML data from an HTML (snippet). The returned HTML can be
placed into a variable or into a set of HTML elements.
"loadjson()" on
page1271
Loads JSON data from a URL. This is a simple way to retrieve content
from external systems.
Page 1219