You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
A document template that uses a query macro dynamically collects a set of documents. If new documents are added to the system that meet the query criteria, these documents are automatically added to the querying document. This feature is also called dynamic lists. Some macros only link to a specific document and are only rendered, if the document actually exists. This is also called automatic linking.
You specify queries like this:
SELECT PropertyOne, PropertyTwo, PropertyFour
WHERE PropertyOne = "Some String" AND
(PropertyTwo = "Another String" OR PropertyFive = "Something")
SORT BY PropertyOne, PropertyThree
Note that this is pseudo syntax. The values for SELECT
, WHERE
and SORT BY
are passed to the macros as parameters.
Dynamic linking is supported with
- Display List Macro
- Lists references to projectdoc documents in a list. List contain names and optional short descriptions.
- Display List Template Macro
- Lists references to projectdoc documents in a list. List items are defined by templates referencing properties.
- Display Table Macro
- Lists references to projectdoc documents in a table. Allows to select document properties for columns. Also non-list representations are provided.
- Index Card Macro
- Renders transcluded content fetched from documents of a result set.
- Index Entries Table Macro
- Renders a table of index entries.
- Transclude Documents Macro
- Renders transcluded content fetched from documents of a result set.
Resources
More information on this feature.