Insert merge tokens


  Place the insertion point where you'd like see a data substitution.    Select Format Text   Special Merge Token to display the Merge Token Panel.
  Select a token (with the mouse or up and down arrow keys) in the browser, and hit return to insert that token.
  Type in the name of a new token and hit Return to insert that token.
  Select the IF or ENDIF buttons to create a conditional data substitution.


If you select the Add button, you can add a new token (that you typed in the text field) without inserting it into the document.  This is useful if you want to use a token with IF without inserting the token.
The Remove button will delete the token from the panel.  You cannot remove a token if it appears in the document.  You must first remove it from the document and then remove it.
The Edit button lets you change the name of a token.  You cannot edit a token if it appears in the document.  You must first remove it from the document and then edit it.
The IF and ENDIF buttons let you conditionally create a data substitution.  To enter an IF clause, 1) select a token a click on the IF button, 2) in the IF panel that appears, select an operator (like =, or >) and type in a value (or leave the value blank) 3) hit Return to insert the IF clause.  To enter ENDIF, click the ENDIF button.
An example IF clause is «IFaddress2!=»«address2»«ENDIF». This means if address2 is not blank, substitute address2. Another example is «IFamountOwed>1000» You owe us a lot of money!«ENDIF» which means of the value of amount is greater than 1000, insert the text, "You owe us a lot of money!".
If you load your data file before you insert tokens, WriteUp will read your data file, extract the Field names from the first line in the file and put them into the Merge Token panel. You can then insert these tokens.


See also

Create a merge document
Merge data into document
Merge Token Command
Merge data file format
Merge Data Panel