Using Snippet Conditions

In Contributor, you can apply snippet conditions at the snippet level. This lets you separate certain snippet content so it displays in certain snippets in a topic, but not in others. Snippet conditions applied at the snippet level override snippet conditions applied at the topic level in Flare.

How to Use Snippet Conditions on Individual Snippets

  1. Open a topic containing a snippet.

    See Creating New Snippets From Content and Opening Snippets.

  2. In the topic, right-click the snippet, and from the context menu, select Snippet Conditions. The Snippet Conditions dialog opens.
  3. If you want to exclude a condition tag from the snippet, select its row to highlight it. Then click the Exclude option to the right. If you want to include a condition in the snippet, select its row to highlight it, then click the Include option to the right.

    Note If you want to create more advanced condition tag expressions, you can switch to Advanced mode. See Creating Basic and Advanced Tag Expressions.

    Warning The condition feature is an inclusive system. If you do not select any options at all, all of the tags will automatically be included, as indicated by the gray text in the Action cell. If you include only some tags and exclude others, any remaining tags without options specifically set will automatically be included. However, if you select Include for any of the tags (even just one) and do not select Exclude for any tags, all of the other tags that do not have the Include option set explicitly will automatically be excluded. If you have not explicitly set an option for a condition tag, make sure you look at the gray text in the Action cell to know what will happen for that tag in the output.

  4. Click OK.
  5. (Optional) Repeat steps 2-4 for the other instances of the snippet in your topic.

  6. Click Save the active file. to save your work.