Personalization - Merge Fields |
Messages can be quickly personalized inserting receivers data source
fields (content variables) inside the HTML or Text content. The
variables are supplied by the Receivers data source you have linked your
project to. |
You are able to insert merge fields from both HTML and
text editors. Find below the steps to insert merge fields when editing
an HTML or a text content. |
 |
1. Place the cursor in the content where you want the merge fields
to be inserted. |
 |
2. Using the HTML editor, click on in the toolbar. Using the text
editor, enter the following script <%=DefaultStr(Record.Fields("Name
of the Data Source Field"), "Default Value if Field is empty")%>. |
 |
3. All fields that you have linked your project to are listed
as well as six additional fields that are parsed from actual data source
fields when available. A default value that substitutes to empty records
can be specified.
FullName: Values for this field are parsed from the [FirstName]
and [LastName] fields, when available. First letters are capitalized,
others uncapitalized.
FirstName: Available if association of the data source field with 'First Name' was made during linking (see Field Binding). First letter is
capitalized, others uncapitalized.
LastName: Available if association of the data source field
with 'Last Name' was made during linking (see Field Binding). First letter is
capitalized, others uncapitalized.
EmailAddress: Values for this field are parsed from the two
previous and the following fields and comply with the "Name" <xyz@abc.tld>
syntax.
Email: Available if association of the data source field with
'Email' was made during linking (see Field Binding). Erroneous addresses are checked
using the address filter.
Fax: Available if association of the data source field with
'Fax' was made during linking (see Field Binding).
SMS: Available if association of the data source field with
'SMS' was made during linking (see Field Binding).
Note that, at the bottom of the window, the code to insert merge field is automatically generated.
|
 |
4. Click on OK |
Once the data source field is inserted, it is represented as a picture in the HTML editor.
If you want to edit a data source field, select it and click on
. |
Subject
Personalization: |
For inserting merge
fields in the message subject, go to
Header
Properties and enter {fieldname} in the subject field.
|
|
 |
|
|