This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
contact-mergefields [2014/07/09 14:10] ian [Contact Mergefields] |
contact-mergefields [2017/07/26 08:24] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
The general syntax of the merge looks like this: | The general syntax of the merge looks like this: | ||
- | <code>%%{{fieldName default=value}}%%</code> | + | <code>{{fieldName default=value}}</code> |
Where 'fieldName' is the name of the data field that you want to merge in\\ and 'value' is the text that should be used should data not be available | Where 'fieldName' is the name of the data field that you want to merge in\\ and 'value' is the text that should be used should data not be available | ||
Line 11: | Line 11: | ||
If you wanted to merge in the contact's name you might construct a merge like this: | If you wanted to merge in the contact's name you might construct a merge like this: | ||
- | Dear <code>%%{{firstName default=Friend}}%%</code> | + | Dear <code>{{firstName default=Friend}}</code> |
Notice the default option. The value entered as a default will be used if, for a particular contact, there is no data on the record to merge in. That means that specifying a default value will avoid blank merges. | Notice the default option. The value entered as a default will be used if, for a particular contact, there is no data on the record to merge in. That means that specifying a default value will avoid blank merges. |