Custom Topic Properties
Custom Topic Properties are topic-specific items of information that you would like to manage as part of the Topic Properties. An example of a Custom Topic Property might be "Author" or "Review Date". Custom Topic Properties that you define can be viewed and edited alongside standard Topic Properties in the Properties Window when one or more Topics are selected on the Project Explorer.
Custom Topic Properties can be referenced from anywhere in Topic content using a %% prefix and suffix. For example, if you defined a custom project property called Author, in which you defined the current Topics author, you could include the property in Topic content as follows:
This Topic was authored by %%Author%%.
At runtime, this would be filled out with the value you provide for the Author property in the Properties Window.
This Topic was authored by John Smith.
To Define a New Topic Property
- Click the Project Settings button on the Project tab.
- Under the Custom Properties section on Project Settings page, select Topic Properties.
- Click the New toolbar button to define a new Topic Property, including the default value.
Once the new Topic Property is defined, select one or more Topics in the Project Explorer and then define the value of your custom Topic Property in the Properties Window.
You can use the Topic Property anywhere in the Topic Content by surrounding the Property Name with %% characters - e.g. %%MyCustomProperty%%. When the Topic is output, the %%MyCustomProperty%% placeholder is replaced with the current value defined against the Topic for that property.