2019.2

Table Of Contents
print or skip a section only for customers living in Qbec. With these values:
Québec
Ontario
the section will be printed if the Province field reads Québec OR Ontario.
Note
More complex conditions can be written in the Script Editor: click Expand and edit
the code of the script. See "Control Scripts" on page885.
8.
Click Apply or OK.
9.
To see the result, toggle to the Preview tab at the bottom of the workspace (or select View
> Preview View on the menu). Take a look at the Resources pane: on each Print section
that is affected by a Conditional Print Section script a small decorator appears if it is
skipped with the current data record.
Dynamic images
Dynamic images are called dynamic because they are switched, depending on the value of a
data field. This way, a template can be adjusted to different customers.
Adding dynamic images
Dynamic images can be added to the template using the Dynamic Image Script Wizard only if
you have:
l One or more data fields that contain values on the basis of which the images can be
switched.
l An appropriate image for each case. All files should be of the same type and they need to
be stored in the same location (the Images folder on the Resources pane, a folder on
disk, or online). It is important that they are named after the various possible values of the
related data field.
Otherwise, adding dynamic images requires a self-made script (see "Writing your own scripts"
on page853).
To use the Dynamic Image Script Wizard:
Page 814