DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:aggregation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:struct:aggregation [2016-12-08 10:51]
grosse [List]
plugin:struct:aggregation [2018-08-06 09:49]
solewniczak [Table]
Line 1: Line 1:
 <= [[plugin:​struct|Struct Plugin]] <= [[plugin:​struct|Struct Plugin]]
 ====== Struct Plugin: Aggregation ====== ====== Struct Plugin: Aggregation ======
 +===== Table =====
  
 Aggregation of structured data is the main purpose of the plugin. Aggregation is done through a simple syntax which will result in a dynamic table listing all pages and associated data matching certain criteria. Aggregation of structured data is the main purpose of the plugin. Aggregation is done through a simple syntax which will result in a dynamic table listing all pages and associated data matching certain criteria.
Line 33: Line 34:
  
 Please note that you can join data from multiple page schemas (as long as they are assigned on the same pages), but can only run aggregations on a single lookup schema. Please note that you can join data from multiple page schemas (as long as they are assigned on the same pages), but can only run aggregations on a single lookup schema.
-===== Aliases ​=====+==== Aliases ====
  
 When selecting data from multiple schemas which contain the same field names, you have to prefix them with the schema name: When selecting data from multiple schemas which contain the same field names, you have to prefix them with the schema name:
Line 56: Line 57:
  
  
-===== Special Columns ​=====+==== Special Columns ====
  
 The following special column names can be used to access non-field columns: The following special column names can be used to access non-field columns:
  
-^ Special Name      ^ Description ​                                                ^ +^ Special Name       ​^ Description ​                                                ^ 
-| ''​%pageid%'' ​     | The page name of the page holding the matching struct data  | +| ''​%pageid%'' ​      ​| The page name of the page holding the matching struct data  | 
-| ''​%title%'' ​      ​| The title (first heading) of the above page                 | +| ''​%title%'' ​       | The title (first heading) of the above page                 | 
-| ''​%lastupdate%'' ​ | The date and time when the page or data was last updated ​   | +| ''​%lastupdate%'' ​  ​| The date and time when the page or data was last updated ​   | 
-| ''​%lasteditor%'' ​ | The user that last changed the page                         |+| ''​%lasteditor%'' ​  ​| The user that last changed the page                         
 +| ''​%lastsummary%'' ​ | The last edit summary of the page                           |
  
  
plugin/struct/aggregation.txt · Last modified: 2018-08-06 09:49 by solewniczak