2022.1

Table Of Contents
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562.
l Conditional Content Script: This script can conditionally show or hide any
element in the template. See "Showing content conditionally" on page856 and
"Conditional Content script dialog" on page1073.
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
page861.
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939. Control Scripts and Post Pagination Scripts do not have a
selector (see "Control Scripts" on page954 and "Post Pagination Scripts" on page970).
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 page846.
Contextual menu options
l New: Click to create a new script or folder. See "Buttons" on the previous page for a
description of all options. Which script types are available depends on the current section
and script folder.
Page 1137