Create an exclusion rule

Publish

Platform_KC
On Premises

Exclusion rules are used in the Filters tab of the Publishing Profile to exclude topics from the published output. You can build expressions based on the release state applied to a topic, the folder containing the topic, or a variable value. You can also choose specific topics to be excluded.

To create an exclusion rule:

  1. Open the profile and click the Filters tab.
  2. Click Add... to open the Exclude Topics window.
  3. Click criteria to build expressions using release states, folders, or variables, or browse to a specific topic.
  4. Save the rule.

Release states - used to exclude topics based on the assigned release states. Select an operator ("equals" or "not") for the release state, then select the release state you want to apply to the rule.

Folder - used to exclude topics located in specified folders. Select an operator (equals or not) for the folder, then browse to the folder you want to apply to the rule. When you select a parent folder you have the option to include all child folders in the rule.

Variable - used to exclude topics where the variable and specified value have been assigned to the topic at object level, not when the variable is used within the topic text.

  • List of values variables - select the variable name, an operator (from the drop-down list), and a value (from the drop-down list).
  • Text variables - select the variable name, an operator (from the drop-down list), and type the value.

Topic - used to exclude specific topics from the published output.

The following operators are used to build the expressions. Click the equals or not operators for Release States, Folders, and Variables assigned to objects.

=

equals

<>

not

>

greater than

>=

equal to or greater than

<

less than

<=

equal to or less than