2018.2

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 page702.
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 page715.
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450.
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552
l
Business Graphic Script: This script controls the contents of a Pie Chart, Bar Chart or
Line Chart. See "Business graphics" on page602.
l
Conditional script: This script shows or hides content elements depending on certain
conditions and values. See "Showing content conditionally" on page711.
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 script dialog" on page821.
In other Script wizards, the following options are available.
l
Name: The name of the script, making it easier to identify it.
l
Selector/Find text: The Selector or Text to apply the result of the script to.
l
Selector: Uses CSS selectors to find the element to which the script applies
l
Text: Uses text as a trigger for the script. The script applies to all instances of the
text found in the template.
Page 817