Creating aliases with imported map files

Note: Import the map file before you perform the following. If you want to auto-generate the map files at the same time you create the aliases, see Creating aliases and map files at the same time.

To create an alias:

  1. Click the Project tab and open the Context-Sensitive Help folder.

  2. Right-click the Aliases icon Aliases icon and select Edit. The Edit Map IDs dialog opens.

  3. From Map File, click Select and select the map file that contains the topic IDs you need to alias. After you select the map file, its topic IDs and map numbers are listed below it.

  1. Select the topic ID you need to work with. The topic ID refers to the window or dialog in the application that the window-level Help topic explains how to use.

    The Alias/Topic ID and Map # fields display the selections. Example:

Note: Yellow icons indicate topic IDs that are not aliased. Blue icons indicate topic IDs that are aliased. You cannot use the same topic ID with more than one alias.

  1. From the Topics list on the right, select the window-level Help topic to match with the topic ID.

  1. Click Assign. The alias is created.

  2. Repeat steps 3 – 6 for each alias you need to create.

  3. Compile your project so the .CHM file is updated to include the aliases. Then, you can test the window-level Help in the application.

 

Tips:

  • Click New Map File to import or create new map files. New files are automatically assigned the .H extension.

  • You can change existing map numbers by editing the text in Map #. The program updates the map file (.H) file so it uses the new number. For auto-generated map numbers, as you type the topic ID, a number is assigned in the Map # field which you can replace with the number you prefer.