Variable sets

A variable is a text phrase or word that serves as a reusable piece of information, simultaneously used across multiple topics in your project. This makes your content portable and easy to update. When you modify a variable or its value, every occurrence of that variable or value is updated across the project. For more information, see Variables in RoboHelp

RoboHelp also supports variable sets, which lets you assign your variables alternate values. For example, a company can sell its products in two or more different geographies. In USA, the product is called Color, and in the UK, the product is called Colour. There can be other differences in branding.

Using variable sets, you first define a different set of values for your variables. When you generate the output, you choose the appropriate variable set, and produce the required output.

Create a Variable Set

  1. Click the Output tab first and double-click Variable Sets in the left panel.
  2. In the Variable Sets panel, click +.
  3. Name the new variable set.
  4. Change the variable values as required and save the set (To reset a value, select any variable, and click Reset).
Set variables in Variable Set dialog
Set variables in Variable Set dialog

In a Variable Set, you cannot add new variables. You can only modify the values of an existing variable.

Generate output with a Variable Set

Prior to generating the layout, choose the variable set from the Variable Set drop-down list of any output preset.

Select a Variable Set
Select a Variable Set

Depending on the Variable Set that you choose, you will get an output corresponding to the variable values defined in the Variable Set.

The values in the Variable Set will override the variable definitions, when creating a variable.

Variable Set operations

You can edit, rename, and delete a Variable Set. Deleting a Variable Set will not delete the variables in the project.

Adobe logo

Sign in to your account