Viewing Used Variables

You can view a list of variables that have been inserted in your project. The list shows not only the variables, but each topic where they have been used. You can also quickly rename or remove multiple variable occurrences in a single batch.

How to View Used Variables

  1. Open a project.
  2. Select Analysis > Used Items > Used Variables.

    The Used Variables window pane opens, listing all of the variables used throughout the project, including snippet variables.

  3. To see more of the information in the window pane, drag the divider bar to make the pane wider.
    • Variable Displays the name of the variable set and the variable within it. The variable set is listed first, followed by a period and then the name of the variable (e.g., Primary.CompanyName).
    • File Displays the name of the file.
    • Title Displays the properties title of the file (if any).
    • Folder Displays the folder where the file is found.
    • Tag Displays the tag being used by the variable.
  4. If a certain number of items have been found, page navigation buttons in the local toolbar may be enabled. You can use these buttons to go to additional pages to display more items. You can also click View All in the local toolbar to see all results on a single page. Keep in mind that the more items you have in the project, the longer it will take to load this view.

Note You can open any file in the list to view or modify it in an editor. You can either double-click on the specific row, or right-click on the row and select Open.

How to Rename Variable Occurrences

  1. In the window pane, select all variable occurrences that you want to rename. If you want to select all rows click Click to select all rows.. You can hold the SHIFT key to select a range, or you can hold the CTRL key to select individual items.

    Note All variable occurrences that you select will be renamed to the same variable that you provide in the following steps.

  2. In the local toolbar, click the Rename button. The Rename Variable(s) dialog opens.
  3. In the New variable name field, enter a new variable. Type the name of the variable set, followed by a period, then the name of the variable (e.g., MyVariableSet.MyVariableName).
  4. Click OK.
  5. A message lets you know how many files were changed. Click OK. All of the selected variable occurrences are renamed.

    Note If you want to undo the conversions, you can use the Backups window pane (View > Backups). See Restoring Backup Files.

What’s Noteworthy?

Note You can also include this information in reports that you create. See Reports.