Documentation Center

Adding a variable resource file in Publication Manager

The resource file in a publication is used by Content Manager to resolve variables included in your topics. You include variables in topics to customize data, for example, you may use a variable for a brand name or company logo that may change from publication to publication or when you preview . The data in the resource file replaces the variable when you publish.

About this task

The variable names that are used in topics are mapped to text strings or graphics in a resource file. The resource file is associated with a publication and used at publication time or when previewing, to dynamically replace variables in the topics with the mapped text string or graphic.

Procedure

  1. In Publication Manager, open a publication.
  2. Select Publication > Add > Resource....
    The publication object must be selected on the Content tab.
  3. Navigate to and select the topic (or a library topic) in the Add Resource window.
  4. Click Add to add the resource file to the publication.
    The selected object appears in the resources folder at the bottom of the tree view.
  5. Select the new resource and verify that the version you want to use is selected (in the versions pane on the right).

Results

On the Variable tab, you can see all variables that are included in your publication. Here you can check whether or not you assigned values for all variables used.