Create a key definition
You can define a variable in a map as a key and then insert that key into any number of topics within the map.
About this task
Keys are useful for managing content consistency and for efficiency. Use keys to define items such as names for products or features, then edit the key in the map that defines that product or feature name.
The two most typical methods to define and add keys to your content are:
- Define keys in a map, and then add them to the map's topics
- Define keys in a submap, then reuse the submap by adding it to other maps with topics that require the keys you defined
You can also have multiple definitions of a key. If you have two maps where the same key defines a name differently, topics with that key automatically update with the correct product or feature name for the related map.
If multiple definitions of a key exist within a map, the first definition takes precedence over any subsequent definitions, unless you set a specific scope for the keys that alters this default.
You must check in a map before any new key definitions go into effect.
To create a key definition:
Procedure
Results
The map now contains the <keydef>
element with the values you defined.