2019.1

Table Of Contents
Object Description
create a script with a selector and use the results object in the script
(see "results" on page842).
"contentitem"
on page839
(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
page790
Triggers a fatal error that aborts content creation.
"loadhtml()" on
page798
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
page802
Loads JSON data from a URL. This is a simple way to retrieve content
from external systems.
"query()" on
page808
Performs a query in the template's contents and creates a new result set
containing the HTML elements that match the given CSS selector.
"resource()" on
page816
This function returns information about an image resource. It can also
be used to check if a file exists.
Page 751