Declaration format for personalization fields
In every script, you must declare all personalization fields that are referenced in the script.
Use the <declarePF> tag, as follows.
<declarePF names= "<display name>, <display name2>, display name3>,..."/>
Declare base table and dimension table personalization fields differently.
- For base table personalization fields, enter the display name only.
- For dimension table personalization fields, reference the dimension table name and the display
name, as follows.
<dimension table name>.<display name>
For example, for a script that displays a name (from a base table) and a list of merchandise shipped (from a dimension table called Transactions), the personalization field declaration appears as follows.
<declarePF names= "FirstName, LastName, Transactions.ItemShipped"/>
You can find the display name for a personalization field on the Output tab of the Deliver process that is used to define the Output List Table (OLT) that is used with the script.