In the Output toolbar, click Map Files.
- RoboHelp User Guide
- Introduction
- Projects
- Collaborate with authors
- PDF Layout
- Editing and formatting
- Format your content
- Create and manage cross-references
- Create and manage links
- Single-source with snippets
- Work with images and multimedia
- Create and use variables for easy updates
- Work with Variable Sets
- Use Find and Replace
- Auto save your content
- Side-by-side editing in Split View
- Use the Spell Check feature
- Create and Edit Bookmarks
- Insert and update fields
- Switch between multiple views
- Autonumbering in CSS
- Import and linking
- TOCs, indexes, glossaries, and citations
- Conditional content
- Microcontent
- Review and Collaboration
- Translation
- Generating output
- Publish output
- Publish to a RoboHelp Server
- Publish to an FTP server, a Secure FTP server, or a File System
- Publish to SharePoint Online
- Publish to Zendesk Help Center
- Publish to Salesforce Knowledge Base
- Publish to ServiceNow Knowledge Base
- Publish to Zoho Knowledge Base
- Publish to Adobe Experience Manager
- Publish to Atlassian Confluence Knowledge Base
- Publish to a RoboHelp Server
- Appendix
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.
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:
-
-
In the Map Files panel, click at the top right corner and then click New Map File.
-
In the New Map File dialog box, specify the name of the map file.
Uwaga:When creating filenames, use underscores instead of spaces, and avoid using these illegal characters:
\ / : * ? < > | # " $ & [ ] -
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:
-
In the Output toolbar, click Map Files.
-
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.
-
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.
Uwaga: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:
-
Type a map ID in the Map ID field and press Enter.
-
Type a map number in the Map No. field and press Enter.
-
Assign a topic by clicking at the right side of the row.
-
In the Insert Topic dialog box, search for a topic or select it from the Contents or Recently Used drop-down sections.
-
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.
Uwaga:Map file settings, if specified, are not applicable to topics that are assigned separately or to mappings defined before the settings were specified.
-
-
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:
-
In the Output toolbar, click Map Files.
-
In the Map Files panel, right-click a map file and click Options. Or, against the map file, choose > Options.
-
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.
-
Click Done.
Rename a map file
To rename a map file:
-
In the Output toolbar, click Map Files.
-
In the Map Files panel, right-click a map file and click Rename. Or, against the map file, choose > Rename.
-
In the Rename dialog box, specify a new name for the map file.
-
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:
-
In the Output toolbar, click Map Files.
-
In the Map Files panel, click at the top right corner and click Import.
-
In the Import dialog box, select the map file you want to import.
-
Click Open.
RoboHelp places the imported map file in alphabetical order of filenames in the Map Files panel.
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:
-
In the Output toolbar, click Map Files.
-
In the Map Files panel, right-click a map file and click Export. Or, against the map file, choose > Export.
-
In the Export dialog box, select a location at which you want to save the map file.
-
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:
-
In the Output toolbar, click Map Files.
-
In the Map Files panel, right-click a map file and click Delete. Or, against the map file, choose > Delete.
-
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:
-
In the Output toolbar, click Map Files.
-
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.