2020.2

Table Of Contents
Designer template, but when it is used as a section's background, text and other elements,
such as a barcode, can be laid on top of it.
Dynamic backgrounds are switched automatically depending on the value of a data field.
Adding a dynamic background
Dynamic background PDFs can be added to a Print section using the Dynamic Section
Background Script Wizard if:
l One or more data fields contain values on the basis of which the PDFs can be switched.
l There is an appropriate PDF for each case. It is important that the PDFs are named after
the various possible values of the related data field.
l
All PDFs are stored in one folder (the Images folder on the Resources pane, or an
external folder).
Otherwise, adding a dynamic background requires a self-made script (for help on this, see
"Control Script: Setting a Print section's background" on page899).
To use the Dynamic Section Background Script Wizard:
1. Open the Wizard. There are three ways to do that:
l
Right-click the Print section on the Resources pane and click Dynamic
Background.
l
On the Scripts pane, click the arrow next to the New button and select Dynamic
Background Script. Double-click the script to open it.
l
On the Scripts pane, right-click Control and select New > Dynamic Background
Script.
2.
Select the desired section from the Section drop-down. You may also change the name
of the script.
3. Select the location of the files:
l
Select Resources if the PDFs reside in the Images folder on the Resources pane.
l
Folder on disk refers to a folder on a hard drive that is accessible from your
computer. Click the Browse button to select a folder.
As an alternative it is possible to enter the path manually. You can give a local path
(e.g. C:\Images\) or use the "file" protocol. The complete syntax of a fully qualified
Page 821