2021.2

Table Of Contents
l The data-field, data-format, data-keep-when-empty, data-script and
data-sum attributes cannot be used.
l The data-showin attribute determines the visibility of a header row or footer row if the
table gets split over multiple pages. Its possible values are header, footer and break;
break may be combined with footer or header, for example: data-
showin="footer, break", to make the row show up on every page.
Dynamic Print section backgrounds
Print sections can have a PDF background image (see "Using a PDF file or other image as
background" on page492). This feature is often used to create a Print template from a PDF file
while making some minimal changes to it. Of course, the PDF file itself can't be edited in a
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922).
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.
Page 844