Versions Compared

Key

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

...

Section
titleExample

In this example we use the Display Table Macro to list documents that describe doctypes. It shows how a basic configuration can be overriden by a context property.

Steps


Section
titleBasic Configuration

Macro editor showing the Display Table Macro querying for doctypes, showing name and short description

The macro editor shows the Display Table Macro querying for documents of document type 'doctype'. The table columns show the name and the short description for each hit.


Section
titleContext Awareness

To make the macro context aware, we provide an identifier and activate the Context controlled checkbox.


Section
titleControlled by Property

Now add the property to the document that contains the macro.


Section
titleResult

The table will now be rendered with columns Name, ID, Set, and Short Description.



...