Attributes

Attributes provide the Help author with the ability to create conditional text based upon specific Help files. In some instances, you may wish to include specific text in one group Help files while having alternate text included in a separate group of Help files. By creating attributes and associating the attribute values with Help targets, you can determine which targets contain which text. For example, you might create an attribute grouping named Audience that contains the values Novice, Expert and Administrator. In this way, you can modify the text contained in Help files for each audience by simply attaching the value to a given group of Help targets and formatting the conditional text with those attributes values. Doc-To-Help also allows you to use advanced conditional build expressions using the AttributeExpression property. You can specify any combination of attributes using the logical operators OR, AND and NOT to determine in which Help targets the text appears.

By highlighting the Attributes item on the project editor tree list, you are presented with a list of the default attributes in the right pane. By choosing any one of the default attributes, the lower left pane displays the property settings for that attribute.

For more information, see Conditional Text and Attributes.