2020.1

Table Of Contents
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412.
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 page377).
To use the Dynamic Image Script Wizard:
1. Add one image to the template. See "Adding images" on page267.
2.
Right-click the image and click Dynamic Image. Or select the image and click Source
(not the field, but the label before the field) in the Attributes pane.
Page 349