Renaming variables

When you rename a variable in the Dictionary Editor
Contract Express Author
will rename all occurrences of that variable in the body of the template document, much like an MS Word find-and-replace-all. In addition,
Contract Express Author
will also rename all occurrences of the variable in the dictionary (e.g. on the questionnaire, in a warning, etc.).

Renaming variables in multiple templates

If you want to rename a variable throughout multiple templates, you must open each one individually and rename that variable.

Renaming variables in a dictionary template (i.e. one used in an external dictionary)

If you want to rename a variable in a dictionary template that is attached to other templates, then:
  1. Rename the variable in the dictionary template
  2. For each template that uses the external dictionary:
    • Open the template document
    • Detach the dictionary, leaving local definitions
    • Rename the variable
    • Re-attach the dictionary
Replacing variables in a template
If you want to replace a specific variable (e.g. NameOfTenant) in the template and dictionary with another variable (e.g. TenantName), you can rename the variable (NameOfTenant) to the one you wish to replace it with (TenantName). This will bring up the following screen:
Replacing variable prompt.
If you choose “Replace”, this will delete the variable you renamed (NameOfTenant) and replace all occurrences of it with the new variable (TenantName).
For example, if you attach an external dictionary whose naming convention and definitions should be used instead of your local ones, you can rename your local definitions to replace them with the external dictionary ones.