Overriding Variable Definitions in Targets

The variables that you create and define in the Variable Set Editor are available to your entire project. However, if you want the definition for a variable to be different in a particular target, you can override the project-level definition for that target in the Target Editor.

Permission Required?

Editing content and project files is an activity available to users with the Author status. By default, users with Author status have the following permissions set:

  • If this is deselected, then viewing files in a read-only mode is allowed. On the left side of the page, the Files vertical three-dot menu is not available.

  • If this is deselected, the XHTML in the Code view is read-only.

    Editing code is regarded as a capability for an advanced user. If not done properly, the code can become malformed quickly. Administrators can prevent users from editing the code by deselecting the Edit Code permission.

For more information about permissions, see Setting User Permissions or Setting Team Permissions.

How to Override a Variable Definition in a Target

  1. From the Projects page (Files tab), open a target and in the upper-right click Edit.

  2. On the left, make sure General is selected.

  3. On the right side of the Variable Overrides field, click . The Variable Overrides dialog shows all of the variable sets in your project and their associated variables.
  4. On the left, select the appropriate variable set.
  5. Do one of the following, depending on whether the variable has only one or multiple definitions in the Variable Set Editor. For information on adding multiple definitions, see Editing Text Variables and Editing Date/Time Variables.

    • Single Definition Click in the Definition cell for the variable that you want to override. Then type a different definition.

    • Multiple Definitions In the Definition cell, click the down arrow and select an alternative definition.

  6. Click Apply. The alternative variable definition will be used in the output for this target. However, for other targets in your project, the original variable definition will be used.

  7. Click Commit. (Or click Cancel, to back out of the process.)

  8. In the Create New Commit dialog, enter a Commit Message.

  9. Click Commit.