2022.1

Table Of Contents
Script wizards
Wizard types
Script wizards are simplified interfaces for common scripts in templates. These are the
available Script wizard types.
l Text Script: This is the default script that is created when a data field is dragged from the
Data Model onto the page. See "Variable Data" on page846.
l Dynamic Image Script: Provided that its selector refers to an image, this script
dynamically changes the image for each record. See "Dynamic images" on page864.
l Dynamic Background Script: This type of script dynamically swaps a Print section's
background. See "Dynamic Print section backgrounds" on page885.
l Email Scripts. The Email To Script is automatically added to any new Email context; it
defines where the email should be sent for each record. Other Email scripts define other
recipients, the subject of the email that is sent, and the PDF password. See "Email
header settings" on page562.
l Barcode Script: This script controls the contents of a Barcode. It is automatically added
when a barcode is added to a template. See "Barcode" on page671
l Business Graphic Script: This script controls the contents of a Pie Chart, Bar Chart or
Line Chart. See "Business graphics" on page734.
l Conditional script: This script shows or hides content elements depending on certain
conditions and values. See "Showing content conditionally" on page856.
The result of the script can be either text appearing on the page, an email address or subject,
the barcode data, or a JSON string that is written to the attribute of an HTML element.
Options
For the options in Conditional Script wizards see "Conditional Content script dialog" on
page1073.
In other Script wizards, the following options are available.
Page 1069