Adding criteria for filtering

Some topics of the plug-in might only focus on some specific fields. To add criteria for filtering these fields, you need to add a child element criteria to the topic or to the table of contents (TOC).

About this task

To add the criteria for filtering, follow these steps:

  1. Add the criteria tag as a child element to the topic.
  2. Select the name and value attributes of the element.

    Here is an example:

    <toc href="tochref">
    				<criteria name="Platform" value="OS/2"/>
    	<criteria name="Platform" value="AIX"/>
    	<criteria name="Platform" value="Windows"/>
    				<topic label="label1" href="href1">
    							<criteria name="Platform" value="OS/2"/>
    				</topic>
    	<topic label="label2" href="href2">
    							<criteria name="Platform" value="AIX"/>
    				</topic>
    </toc>
    Note: Only platform, version and prodname are supported criteria in this release. The criteria name is not case sensitive, but the criteria value is. The criteria value set of a topic needs to be the superset of criteria value set of all its descendant topics.
Related tasks
Filtering the Navigation view