Skip to main content

[en] Set Up Scoped Filtering

Die wichtigsten Grundsätze der scoped-Filterung sind:

  • Die scoped-Filterung gilt für Inhalte, die in derselben Publikation wiederverwendet werden.

  • Mit der scoped-Filterung können Sie Topics wiederverwenden und sie auf unterschiedliche Filterwerte einstellen, je nachdem, wo das Topic in der Publikationsstruktur platziert ist.

  • Sie teilen Paligo mit, welche Filterwerte ein „untergeordnetes“ Topic verwenden soll, indem Sie einen „scoped-Filter“ für das „übergeordnete“ Topic setzen

  • [en] 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.

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

Anmerkung

[en] For scoped filtering to work it must be activated, see scoped-Filterung aktivieren.

[en] To create parent topics and a child topic with parts profiled with Attribute filtern:

  1. [en] Topics erstellen that will serve as a "parent" topic.

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

  2. Wählen Sie das Topic oder die Komponente im Content Manager aus, um es/sie im Editor zu öffnen.

    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).

    Alternativ können Sie Topics erstellen und dieses bearbeiten.

  3. Wählen Sie das section-Element im Menü „Elementstruktur“ aus.

    Close up of Element Structure Menu. It shows the section element is selected and the Go to element option is selected.
  4. Wählen Sie Zu Element wechseln aus.

  5. [en] Add the filter attribute and set its value in the Panel „Elementattribute“.

    [en] To learn more, see Attribute filtern.

    [en] 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. Drücken Sie Speichern. Save icon.

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

    [en] 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. [en] Topics erstellen that will serve as a "child" topic with parts profiled with Attribute filtern.

    [en] 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

    [en] 1 = Filter attribute value set to macos. 2 = Filter attribute value set to Windows.

  9. Drücken Sie Speichern. Save icon.

  10. [en] 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

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

  11. Wählen Sie Speichern aus, um die Änderungen an der Publikation zu bestätigen. Save_Publication.jpg

  12. [en] Inhalte veröffentlichen with the Profiling attributes set with the filter attribute and all its values.

    [en] 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

[en] 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

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