2019.2

Table Of Contents
Running the project
Having tested the project, you will be ready to send it to the Workflow service; see Saving and
sending a Workflow Configuration in Workflow's Online Help.
To test the project, which then runs on the server, copy the Sample Data.xml file from the
Configurations\Data folder to the Workspace\In folder. The output should appear in the same
folder as before.
Project details
The letter template
The promotional letter is designed in the PR_PROM Letter template. It contains one Print
section (see "Print sections" on page487).
There are two Master Pages that are each applied to different pages in the Print section
(see"Applying a Master Page to a page in a Print section" on page507).
The Media contains the virtual stationery. Whether this is included in or omitted from the final
output depends on a setting in the Output Creation Preset.
Personalization is mostly done via simple text scripts. Such scripts look for a text surrounded
by @ (e.g. @city@) and replace that by the correct data. To add a text script you just drag-and-
drop data onto the template. (See: "Variable Data" on page801.)
A few scripts are a little bit more sophisticated.
l
The sales_rep script combines some data fields and adds a line break. Double-click the
script to open the Text Script Wizard with which this script was made. (See: "Using the
Text Script Wizard" on page803.)
l
The Promo script shows or hides a paragraph (with the ID 'promo') depending on
whether the customer's address is in Montréal. (See: "Showing content conditionally" on
page810.)
l
The year script changes the year in the conditional paragraph to the current year. This
script only has to look for @year@ in an element that has the ID 'promo', instead of in the
entire letter, which makes it run faster.
l
The Dynamic Signature script switches the signature, with a file name based on a data
field. (See: "Dynamic images" on page814.)
Page 190