Changes for page Query Generator and Query Macro
Last modified by Admin on 2021/01/20 04:12
Change comment:
There is no comment for this version
Summary
-
Attachments (0 modified, 1 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- querygenerator-chart.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.ludovic - Size
-
... ... @@ -1,0 +1,1 @@ 1 +536.2 KB - Content
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -1,7 +1,12 @@ 1 -The Query Generator uses XWiki's core capabilities to generate search forms and a query automatically. 1 +The Query Generator uses XWiki's core capabilities to generate search forms and a query automatically. 2 +It generates a macro than can be reused in any XWiki page. 2 2 3 - In thefollowingexample,wegenerate an XWQL querywhich matchesonlyuserswith"admin"inthe firstname.4 +The query generator can generate an XWQL query, a query macro and a livetable macro: 4 4 5 -{{image reference="querygenerator.png" width="960px"/}} 6 +{{image reference="querygenerator-livetable.png" width="960px"/}} 6 6 7 -The first_name, last_name columns are displayed and the query is ordered by first_name. On this screen you can see the XWQL query generated, the sample Query Macro syntax and the table displayed. 8 +The query generator can also generate a chart macro to count documents or sum values grouped by one field: 9 + 10 +{{image reference="querygenerator-chart.png" width="960px"/}} 11 + 12 +