User Guide Cancel

Variable sets

  1. RoboHelp User Guide
  2. Introduction
    1. Get to know RoboHelp workspace
    2. What's new in RoboHelp 2022 release
      1. What's new in Update 5
      2. What's new in Update 4
      3. What's new in Update 3
      4. What's new in Update 2
      5. What's new in Update 1
    3. Fixed Issues in RoboHelp
    4. RoboHelp System Requirements
    5. Download RoboHelp on Windows and macOS
    6. Download and install Adobe app
    7. RoboHelp FAQs
    8. What's new in RoboHelp 2020 release
      1. What's new in Update 8
      2. What's new in Update 7
      3. What's new in Update 6
      4. What's new in Update 5
      5. What's new in Update 4
      6. What's new in Update 3
      7. What's new in Update 2
      8. What's new in Update 1
  3. Projects
    1. Plan your RoboHelp project
    2. Create a project
    3. Manage projects
    4. Work with topics and folders
    5. Generate reports
    6. Work with context-sensitive help
    7. Manage References
    8. Set preferences in RoboHelp
  4. Collaborate with authors
    1. Collaborate using Git
    2. Collaborate using SharePoint Online
    3. Collaborate using Azure DevOps (Team Foundation Server)
  5. PDF Layout
    1. PDF templates
    2. Design a page layout
    3. Publish PDF output
    4. Work with the common content styles
    5. Components of a PDF template
    6. Support for language variables
    7. Customize PDFs
  6. Editing and formatting
    1. Format your content
    2. Create and manage cross-references
    3. Create and manage links
    4. Single-source with snippets
    5. Work with images and multimedia
    6. Create and use variables for easy updates
    7. Work with Variable Sets
    8. Use Find and Replace
    9. Auto save your content
    10. Side-by-side editing in Split View
    11. Use the Spell Check feature
    12. Create and Edit Bookmarks
    13. Insert and update fields
    14. Switch between multiple views
    15. Autonumbering in CSS
  7. Import and linking
    1. Import Markdown files into a project
    2. Import Word documents into a project
    3. Import FrameMaker documents into a project
  8. TOCs, indexes, glossaries, and citations
    1. Create and manage a Table of Contents
    2. Create and manage an index
    3. Create and manage a glossary
    4. Create and manage citations
    5. Create and manage browse sequences
    6. Work with See Also and Related Topics
  9. Conditional content
    1. What is conditional content
    2. Create and apply condition tags
    3. Configure output presets for conditional content
    4. Optimize and manage conditional content
  10. Microcontent
    1. Microcontent
  11. Review and Collaboration
    1. Review and Collaboration
  12. Translation
    1. Translating content to multiple languages
    2. Configure a translation framework for a service provider
  13. Generating output
    1. Generate output
    2. Generate Frameless output
    3. Generate Knowledge Base output
    4. Generate PDF output
    5. Generate Responsive HTML5 output
    6. Generate Word Document output
    7. Generate Content Only output
    8. Generate eBook output
    9. Generate Microsoft HTML Help output
    10. Generate Mobile App output
  14. Publish output
    1. Publish to a RoboHelp Server
    2. Publish to an FTP server, a Secure FTP server, or a File System
    3. Publish to SharePoint Online
    4. Publish to Zendesk Help Center
    5. Publish to Salesforce Knowledge Base
    6. Publish to ServiceNow Knowledge Base
    7. Publish to Zoho Knowledge Base
    8. Publish to Adobe Experience Manager
    9. Publish to Atlassian Confluence Knowledge Base
  15. Appendix
    1. Adobe RoboHelp Scripting Reference
    2. RoboHelp keyboard shortcuts

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 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.

Configure Variable sets

You need to configure variable sets before adding any variables to them.

  1. In the Author tab, select Variables. The Variables panel opens.

  2. In the Variables panel, select     to open the Variables editor.

  3. Select   Settings to open the Configure variable sets dialog box.

  4. Add the Name of the Variable set and click   to display the variable set name in the list below.

  5. Select Done. The variable set is displayed in the dropdown of the editor.

create variable set

You can select delete   to remove a variable set.

Variable Set Operations

All variable sets have the same variables but can have different values.

You can view, edit, and preview the values for a specific variable set. Select a variable set from the Variable sets dropdown. The values of  the variables are displayed according to the chosen variable set.

variable set

When you edit the values for the variables in specific variable sets, it overrides the default values and changes the values of the selected variable for that variable set.

Whenever a new variable is added, deleted or duplicated to any variable set, it’s updated for all the other variable sets.

You can also preview the value of the variables from the variables editor. However on selecting the preview option for any variable from the Variables panel will always show the default variable set value.

Reset the value of a variable

Upon creation of a variable set, the value of the variables in the set can be edited. To reset the default value of the variable, select   Reset next to the variable.

reset default value

Generate output with a Variable Set

You can generate the PDF output with the values of different variables. Before generating the layout, choose a variable set from an output preset’s Variable set dropdown list to choose the values.

generating output with 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. For example, if you select the variable set USA, your output displays the Country name as 'USA', Country capital as 'Washington,D.C.'.

variable set USA

Similarly, if you select the variable set Australia, your output displays the Country name as 'Australia', Country capital as 'Canberra'.

variable set Australia

It means your output displays the variables’ values as defined in that particular set. You can quickly update the values for any variable set whenever required and regenerate the output. For example, if you need to update the details for a version, you can update the value of the version in the Current Version variable and regenerate the output.

Note:

You can also select (Default) from the dropdown to publish the default values for all variables.

Get help faster and easier

New user?