Skip to main content

Set Up Scoped Filtering

The important principles of scoped filtering are:

  • Scoped filtering applies to content that is reused in the same publication.

  • With scoped filtering you can reuse topics and set them to use different filter values, depending on where the topic is positioned in the publication structure.

  • You tell Paligo which filter values a "child" topic should use by setting a "scope filter" on the "parent" topic

  • When you publish, you set the Profiling attributes and include all of the values that you want to use in the publication. Publish your content and include the filter attributes that are set on the "scope filters" and all of the filter values that should be used.

The structure view of a publication. It has an Installing on MacOS top level topic with a Prerequisites subtopic and a System Requirements subtopic. There is also an Installing on Windows top-level topic which also has Prerequisites and System Requirements subtopics. The Installing on Mac OS topic has a callout with number 1 on it. The Installing on Windows topic has a callout with number 2 on it.

In this image there are two "scope filters" to set (1 and 2).

Note

For scoped filtering to work it must be activated, see Enable Scoped Filtering.

To create parent topics and a child topic with parts profiled with Filter Attributes:

  1. Create a Topic that will serve as a "parent" topic.

    The parent topics in this example are called "Installing on MacOS" and "Installing on Windows".

  2. Select the topic or component in the Content Manager to open it in the Editor.

    Content Manager in Paligo. It shows the Documents section contains an Acme 100 Topics folder. Inside the folder there is a publication and many topics, including "Connect to Network (100).

    Alternatively, you can Create a Topic and edit that.

  3. Select the section element in the Element Structure Menu.

    Close up of Element Structure Menu. It shows the section element is selected and the Go to element option is selected.
  4. Select Go to element.

  5. Add the filter attribute and set its value in the Element Attributes Panel.

    To learn more, see Filter Attributes.

    In this example the filter attribute used for "Installing on Windows" is os with the value set to windows. This tells Paligo that any child topics that contain the os should include parts marked for windows but exclude parts marked with other values.

    os-windows-section.jpg
  6. Select Save. Save icon.

  7. Repeat the steps 1 to 6 for the next "parent" topic. Set its to a different value.

    In this example the os value is set to macos. This tells Paligo that any child topics that contain the os should include parts marked for macos but exclude parts marked with other values.

    os-filter-mac.jpg
  8. Create a Topic that will serve as a "child" topic with parts profiled with Filter Attributes.

    In this example the topic "System Requirements", have some information that is unique for Windows, and some that is unique for Mac.

    Scoped_Filtering_Child_Topic_small.jpg

    1 = Filter attribute value set to macos. 2 = Filter attribute value set to Windows.

  9. Select Save. Save icon.

  10. Add the new topics to your publication. Organize the child topic (2) as subtopics to the parent topics (1).

    Organize_Pub_Scoped_Filtering_small.jpg

    1 = Parent topic with filter attributes. 2 = Child topic with parts profiled with filter attributes.

  11. Select Save to confirm the publication changes. Save_Publication.jpg

  12. Publish Content with the Profiling attributes set with the filter attribute and all its values.

    In our example we use os and both its values (macos and windows). This tells Paligo that the child topic "System Requirements" will show different content when used in "Installing on MacOs" than when used in "Installing for Windows".

    publish-scoped-filter.png

The output will show different content from the child topic. This is controlled by the filter attributes set for the parent topic.

System_Requirements_MacOS.png
System_Requirements_Windows.png

Note how the "Operating system version" and "Supported Browsers" displays different information in the two parent topics.