You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

projectdoc Toolbox

Documents the use of the Sort Key Property of search macros.

Content

Sort By

The comma-separated list of document property names to use for sorting.

Sort Order

Add a '+' (default) for ascending, a '-' for descending order.

Type Conversion

Add a type descriptor of the form

@{type/pattern}

The type is mandatory if the additional type descriptor is given. Valid values are

  • date
  • number

The pattern is optional to define a parsing pattern for the specified type.

Per default the sort key then the name of the document is used.

The last modification date is the last arbiter if all other properties are equal.

 

Here are some examples

Sort ByThe sort order is defined by the ...
Name-... alphanumerical order of names, descending.
Calendar Week@{number}... numerical order of the calender week, ascending.
Date of Birth-@{date}... date of birth, descending.
Date of Birth@{date/dd.MM.yyyy}... date of birth, using the defined date pattern.

Transcluded By

NameShort DescriptionDoctype
Calculation Macro
Run calculations on a set of result documents and renders the results.
app-macro
Display List Macro
Lists references to projectdoc documents in a list. List contain names and optional short descriptions.
macro
Display List Template Macro
Lists references to projectdoc documents in a list. List items are defined by templates referencing properties.
macro
Display Table Macro
Lists references to projectdoc documents in a table. Allows to select document properties for columns. Also non-list representations are provided.
macro
Transclude Documents Macro
Renders transcluded content fetched from documents of a result set.
macro
  • No labels