Inserting merge variables

Variables are references placed into merge templates, which extract data from Legal Enterprise when a document is merged. The information is then inserted directly into your document. When selecting variables to insert into templates, you can insert a standard variable which simply displays its contents when the document is merged or you can customise variables using document commands. These allow you to request information from users, apply specific formatting or instruct variables to operate under certain conditions.

The list of variables is split into 2 sections - Command and Parameters. The Command pane lets you select a document command to use with a variable and the Parameters pane lets you select a variable and (if using a document command) set the appropriate parameters.

To insert a merge variable:

  1. Place the cursor at the point in the template you want to insert the variable.

  2. Click the Insert Merge Code button . A list of variables and commands are displayed for selection in the Merge Code Editor.

  1. Under Parameters, select the variable you want to insert. When selecting a variable you can choose between Simple and Advanced modes. Simple mode provides filters to help you find the desired entry and the Advanced mode lists all variables in a tree view.

  1. (Optional) Under Command, select the document command you want to use to customise the variable. The Parameters pane changes to display the options associated with the selected command.

  1. (Optional) Set the command parameters.

  1. Click Insert to add the variable (or if in Outlook, click Copy and then paste it into your e-mail). The variable is inserted at the cursor position. The Merge Code Editor remains open so you can continue adding / constructing variables.

Notes