2020.2

Table Of Contents
After loading - or creating - a Data Model (see "Data Model pane" on page1041), a data
mapping configuration, ordata from a data file or database (see "Loading data" on page773),
you can add variable data fields to the contents of your template. You can do this via the drag-
and-drop method, or using the Text Script Wizard.
Use the Text Script Wizard when there are empty fields in the data, and the value of a data
field needs to be preceded or followed by a space, line break or text in the template. Otherwise,
empty data fields will cause empty lines and superfluous white spaces to show up in the text.
You should also use this method for blocks of data, such as address blocks, and when you
want to format data differently, for example, when you want a number to be displayed as a
currency.
You can use the drag-and-drop method for simple fields that do not need to be preceded or
followed by a space, line break or text.
Note
Web templates are personalized just like any other template. There are a few extra
possibilities, though; see "Using variable data on a Web page" on page530.
Inserting variable data directly (drag-and-drop)
An easy, quick and direct way to insert variable data in the content is via drag and drop:
1. Open the section you want to add the data field to.
2.
Drag and drop a data field from the Data Model pane at the bottom right into the content
of your template.
To select and insert multiple data fields at the same time, press Shift or Ctrl, whilst
selecting fields in the Data Model pane.
What happens is that:
o
A placeholder for the value of the data field shows up in the text. It looks as follows:
@FIELDNAME@.
o
A script appears in the Scripts pane at the bottom left.
Page 786