This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
contact-mergefields [2014/06/30 10:45] ian created |
contact-mergefields [2014/07/09 14:10] ian |
||
---|---|---|---|
Line 5: | Line 5: | ||
The general syntax of the merge looks like this: | The general syntax of the merge looks like this: | ||
- | %%{{fieldName default=value}}%% | + | <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 %%{{firstName default=Friend}}%% | + | 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. |