User Guide Cancel

Work with context-sensitive help

  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

Understand the concepts of context-sensitive help and learn how to use it.

What is context-sensitive help

A context-sensitive help topic provides information about the user interface of an application relative to the task your user performs. For example, context-sensitive help topics provide details about fields and controls in dialog boxes, descriptions of windows or screen objects, and explanations of messages. Your users access a context-sensitive help topic by pressing F1, clicking a Help button, selecting from a menu, or clicking a question-mark icon.

What is a map file

In RoboHelp, you work with context-sensitive help topics through map files in Output view. You can create, assign, unassign, edit, import, and export map files. A pairing of a map ID and map number for each topic is saved in map files. 

A map ID and map number pairing inside a map file

Map ID Assign a unique map ID to each topic to display it in the CSH. For example, ID_SetupScreen.

Map number A numeric value associated with a topic. Map numbers are used with applications to specify a topic for calling context-sensitive help. For example, 101.

Whether application developers use map numbers, map IDs, or both depends on the programming language they use. 

Topic You can assign or unassign a topic against a map ID and number. For example, SetupScreen.

Author and developer tasks

Map files are used by authors and developers to build a context-sensitive help for an application. 

  • Author Writes the Help topics that describe how to use application components such as windows, dialog boxes, fields, and controls.
  • Developer Builds the components (windows, dialogs, fields, controls) that make up the application.

An author can generate map files containing map IDs and give them to the developer. Or, an author can obtain map files from the developer.

To share map files, you can export a map file as a .h file in this format:

#define ID_SetupScreen 101

Create a map file

To create a map file:

  1. In the Output toolbar, click Map Files.

  2. In the Map Files panel, click  at the top right corner and then click New Map File

  3. In the New Map File dialog box, specify the name of the map file.

    Note:

    When creating filenames, use underscores instead of spaces, and avoid using these illegal characters:
    \ / : * ? < > | # " $ & [ ]

  4. Click Done.

    RoboHelp places the map file in alphabetical order of filenames in the Map Files panel and opens the map file editor.

Edit a map file

To edit a map file:

  1. In the Output toolbar, click Map Files.

  2. In the Map Files panel, double-click the map file you want to edit. Or choose Options  > Edit against the map file.

    RoboHelp opens the map file editor with Contents panel at the left and the fields Map ID, Map No., and Topic at the right.

  3. To map topics, you can follow two approaches.

    Approach 1: To let RoboHelp automatically assign map IDs and map numbers, from the Contents panel, drag a topic and drop it below the field names in the map file editor.

    RoboHelp automatically maps the topic name as map ID. For the first topic, the default map number is 1. You can edit the map ID and map numbers.

    Note:

    Map file settings, if specified, are applicable to all topics that are dragged and dropped.

    Approach 2: If you want to specify a custom map ID or map number and separately assign a topic, do the following:

    1. Type a map ID in the Map ID field and press Enter

    2. Type a map number in the Map No. field and press Enter.

    3. Assign a topic by clicking  at the right side of the row. 

    4. In the Insert Topic dialog box, search for a topic or select it from the Contents or Recently Used drop-down sections. 

    5. Click Insert.

      The topic is assigned to the map ID and number, and the topic filename appears under the Topic field.

      To unassign a topic, click  next to the topic name.

      To delete an entire row of map ID, map number, and topic, click  in that row.

      Note:

      Map file settings, if specified, are not applicable to topics that are assigned separately or to mappings defined before the settings were specified.

  4. You can modify both Map ID and Map No. fields.

Specify map file settings

Map file settings apply to topics that are dragged and dropped in the map file editor. To specify map file settings:

  1. In the Output toolbar, click Map Files.

  2. In the Map Files panel, right-click a map file and click Options. Or, against the map file, choose  > Options.

  3. In the Mapping Options dialog box, do the following:

    • Prefix Map ID With To automatically add a prefix to all new map IDs, specify the prefix in this field. 
    • Start Map Number From To automatically start map numbers from a specific number, specify the number in this field.
    • Create Map ID in uppercase Select this field to automatically create map IDs in uppercase. 
  4. Click Done.

Rename a map file

To rename a map file:

  1. In the Output toolbar, click Map Files.

  2. In the Map Files panel, right-click a map file and click Rename. Or, against the map file, choose  > Rename.

  3. In the Rename dialog box, specify a new name for the map file. 

  4. Click Done.

    The updated name of the map file is shown in the Map Files panel.

Import a map file

You can import a map file received from an author or a developer. To import a map file:

  1. In the Output toolbar, click Map Files.

  2. In the Map Files panel, click  at the top right corner and click Import

  3. In the Import dialog box, select the map file you want to import.

  4. Click Open.

    RoboHelp places the imported map file in alphabetical order of filenames in the Map Files panel.

Note:

Map numbers and topics IDs are stored in Map Files. After importing, users can make changes to these Map numbers and Map IDs in the Map Editor.

Export a map file

You can export a map file to share it with an author or a developer. To export a map file:

  1. In the Output toolbar, click Map Files.

  2. In the Map Files panel, right-click a map file and click Export. Or, against the map file, choose  > Export.

  3. In the Export dialog box, select a location at which you want to save the map file.

  4. Click Save.

    RoboHelp exports the map file at the selected location.

Delete a map file

To delete a map file, press Delete. Or do the following:

  1. In the Output toolbar, click Map Files.

  2. In the Map Files panel, right-click a map file and click Delete. Or, against the map file, choose  > Delete.

  3. In the Confirm dialog box, click Yes to confirm the deletion.

    The map file is deleted.

Locate a map file on your computer

To see the location of a map file on your computer, do the following:

  1. In the Output toolbar, click Map Files.

  2. In the Map Files panel, right-click a map file and click Show in Explorer. Or, against the map file, choose  > Show in Explorer.

    Windows Explorer opens to display the map file and its location.

Get help faster and easier

New user?