Wiki source code of Query Macro
Last modified by etvc developer on 2019/09/19 17:04
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | The Query Macro allows to display the results of a XWQL Query. You can use the [[Macros.QueryGenerator]] to generate a query macro. | ||
| 2 | |||
| 3 | {{query query="from doc.object('XWiki.XWikiUsers') as user" class="XWiki.XWikiUsers" columns="first_name" headers="0" links="0" actions="0"/}} | ||
| 4 | |||
| 5 | {{query query="from doc.object('XWiki.XWikiUsers') as user" class="XWiki.XWikiUsers" columns="first_name,last_name" headers="1" links="0" actions="1"/}} | ||
| 6 | |||
| 7 | {{query query="from doc.object('XWiki.XWikiUsers') as user" class="XWiki.XWikiUsers" columns="first_name,last_name" headers="1" links="1" actions="0"/}} | ||
| 8 | |||
| 9 | {{query query="from doc.object('XWiki.XWikiUsers') as user" class="XWiki.XWikiUsers" columns="" headers="1" links="0" actions="1"/}} |