Where clauses of macros provided by the projectdoc Toolbox may take advantage of search functions such as now() to specify queries. The syntax for using search functions is: Code Block |
---|
| $<PROPERTY NAME>=${function-name(argument-list)} |
Functions can be used for a value in a Where clause parameter of a projectdoc macro. Functions cannot be used for a property name or outside the Where clause. Example Box |
---|
Here are some usage examples: Code Block |
---|
| $<Start Date§>=${now()}
$<Login Name>=${currentUser()}
$<Attendee>=${currentUser("fn")} |
|
The following functions are supported: currentUser() now() startOfDay() endOfDay() startOfWeek() endOfWeek() startOfMonth() endOfMonth() startOfYear() endOfYear() For more information refer to Search Functions as part of our Search Tips. |