2022.1

Table Of Contents
page362.
l Dynamic Background Script (Print context only): This type of script dynamically
changes the background of a Print section. See "Dynamic Print section
backgrounds" on page364.
l Email scripts (Email sections only): Email scripts define the sender, recipients,
subject, dynamic attachments etc. of the email that is sent, and the PDF password.
See "Email header settings" on page176.
l Conditional Content Script: This script can conditionally show or hide any
element in the template. See "Showing content conditionally" on page354 and
"Conditional Content script dialog" on page535.
l Conditional Print Section Script (Print context only): This script conditionally
shows or hides any Print section in a template. See "Conditional Print sections" on
page359.
l Collapse All: Collapses all the folders, hiding the scripts inside of them.
Scripts Pane filter
To quickly find a certain script or piece of code, type a search text in the filter field located
below the buttons in the Scripts pane.
The Scripts Pane will then only display scripts of which the name, selector or content matches
the search text. This is case insensitive.
Scripts Pane column
l Name: The name added to better identify the script.
l Selector: Displays the initial text or selector that the script applies to. See "Selectors in
Connect" on page410. Control Scripts and Post Pagination Scripts do not have a
selector (see "Control Scripts" on page425 and "Post Pagination Scripts" on page441).
Tip
Fields from the Data Model pane can be dragged directly into the Scripts pane to create a
Text Script. Additionally, Text scripts can be dragged into any section to add the script's
placeholder at the insert location. See "Variable Data" on page347.
Page 588