Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleExample

Here is a short example that shows how to automatically link related pages for a new page.

Section
titleExisting Document Base

Suppose you have five documents, tagged as shown in the following documentstable.

Four of these documents are related to the topic security. Two of them to security and jaas.

Section
titleCreate a new Document

Now the document author creates a new document and tags it with jaas and security.

Related to this documents are all documents that have both tags, jaas and security.

Section
titleSelect related Documents

Use the Display Table Macro and add the following where clause:.

This query selects all documents where the tag property (left hand side from the equal sign) matches the list of tags of this document (right hand side of the equal sign; the ${...} references the values of referenced property of the document this query is part of).

 

Tip Box

More information on your query options is found in Search Tips.

Section
titleList related Documents

So the The result of this the query, executed by the Display Table Macro, is this:

As expected all documents that are tagged with security and jaas are listed. The order in which the tags are actually specified on the single pages do not matter.

...