Skip to main content

Apply Publishing Filters

When you publish your content, you can choose which Filter Attributes to apply to the output. There is a field for each profiling attribute and you can set one or more values. Note that filter attributes are also known as profiling attributes.

If you choose a single value, Paligo will:

  • Include any content that has the filter attribute and the value you defined (for that filter attribute)

  • Include any content that does not have the filter attribute

  • Exclude any content that has the filter attribute, but with a different value.

If you choose multiple values, the filter works as an OR filter. Paligo will then filter like this:

  • Include any content that has the filter attribute and any of the values you defined (for that filter attribute)

  • Include any content that does not have the filter attribute

  • Exclude any content that has the filter attribute, but with a different value to the ones you defined.

When you apply filtering, it is important to understand the "inclusive" filter behavior we have described. Also, be aware that each filter attribute is handled separately. Choosing a value for one filter attribute does not mean Paligo automatically applies the same value for other filter attributes. The example at the end of this article shows how you can include and exclude content with filters.

To apply publishing filters:

  1. Select the dotted menu (...) for the topic or publication in the Content Manager.

    selectpublish.png
  2. Select Publish.

    publish-document-jan23.png

    Paligo displays the Publish document dialog.

  3. Select an Output type (PDF, HTML, HTML5, Word, XML, eLearning or SCORM).

  4. Set the Languages, Variables and Optional Parameters.

    Tip

    These are common publishing settings, see Publish Content.

  5. Select Edit in the Profiling attributes section. Filter_symbol_small.png

    Profiling attributes dialog. There are many filter fields available, including Audience, Condition, Country, and Market.

    The Profiling attributes dialog contains a field for each available filter attribute.

  6. Decide which filter attributes and values you want to apply to your publication. Then, for each filter that you want to use, select the profiling value from the menu.

    Profiling attributes dialog. The Audience filter is selected and the Beginner value is chosen.

    To learn how to create more profiling values, see Create Profiling Values.

    Note

    If there are any filter attributes that you do not want to use, leave their fields blank. When there is no attribute set, Paligo ignores that type of filter.

  7. Repeat steps 5 and 6 for each profiling attribute you want to apply.

  8. Select OK.

  9. Select Publish document to publish your content.

Example 1. Include and exclude content using an audience filter attribute

Let's say you have a publication with these topics:

The publication structure for a publication called CMS documentation. It has an Install the shield app topic, a Set your preferences topic, and a Learning the basics topic.
  • Install the shield app

    This topic is only for IT admin users.

  • Set your preferences

    This topic is suitable for all users.

  • Learning the basics

    This topic is only for beginner users.

You want to publish a help center designed for IT admin users. For this, you need to include "Install the shield app" and "Set your preferences" but exclude "Learning the basics". To make this possible, you add the audience filter attribute to the section element in the appropriate topics, and set the values as follows:

  • You give "Install the shield app" the audience attribute on the section element. You set the attribute value to:IT admin (you add a value with this name).

    Element attributes panel. The section element is selected. It has an audience filter attribute with the value IT admin.
  • You leave "Set your preferences" with the default settings. It does not need an audience attribute as this content is suitable for all users.

  • You give "Learning the basics" the audience attribute and set its value to Novice. Again, you add a value with this name and the attribute is on the section element.

    Element attributes panel. The section element is selected. It has an audience filter attribute with the value: Novice.

You then publish your content. In the publishing settings, you apply the audience filter and you choose the IT admin value.

Publish document dialog. The publishing settings are for an HTML5 help center output. The profiling attributes have Audience: IT admin set to be included.

When Paligo generates the output, it:

  • Includes "Install the shield app" as it has audience:IT admin. You chose to use content that has the audience filter attribute with the admin value.

  • Includes "Set your preferences" as this does not have the audience filter attribute. By default, Paligo includes any content that does not have the filter attributes you chose to use.

  • Excludes "Learning the basics" as it has the filter attribute, but it does not have admin as the value. Instead it has novice, which does not match your filter criteria, and so the content is excluded.

HTML5 Help Center output. It has panels and links for the Install the shield app and Set your preferences topics. There is nothing for the Learn the basics topic as it has been filtered out of this publication and is not included.