Code source wiki de AWMKanbanMacro
Masquer les derniers auteurs
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | This macro allows to display a Kanban board from AppWithinMinutes data using the [[xwiki:Macros.KanbanMacro]] based on one of the fields of the AWM data. It is also possible to drag and drop items in the board and update the field in the XWiki document. |
| 2 | |||
| 3 | Example: | ||
| 4 | |||
| 5 | ##{{{ | ||
| |
4.1 | 6 | {{awmkanban app="Help.Applications.Movies" category="databaseList1" displayedCategoryColumns="Help.Applications.Contributors.Charlie Chaplin" columns="staticList1,boolean1" xwql="obj.boolean1=0" /}} |
| |
1.1 | 7 | }}}## |
| 8 | |||
| |
4.1 | 9 | * ##app or className## - application or className for which to build the kanban board |
| 10 | * ##category## - class field used to group the kanban board into columns | ||
| 11 | * ##displayedCategoryColumns## - only display these values of the `category` field as columns | ||
| 12 | * ##xwql## - additional xwql to restrict the query | ||
| 13 | * ##title## - field to display the title | ||
| 14 | * ##columns## - the class fields to display as a description in each card | ||
| |
1.1 | 15 | |
| 16 | Examples: | ||
| 17 | |||
| 18 | == Kanban of Movies by genre showing the director field == | ||
| 19 | |||
| 20 | {{awmkanban app="Help.Applications.Movies" category="databaseList1" columns="staticList1,boolean1"/}} | ||
| 21 | |||
| |
4.1 | 22 | == Kanban of Movies showing the director field, only showing a subset of directors== |
| 23 | |||
| 24 | {{awmkanban app="Help.Applications.Movies" category="databaseList1" displayedCategoryColumns="Help.Applications.Contributors.Charlie Chaplin" columns="staticList1,boolean1"/}} | ||
| 25 | |||
| |
1.1 | 26 | == Kanban of Movies by genre showing the director field only comedy movies == |
| 27 | |||
| 28 | {{awmkanban app="Help.Applications.Movies" category="databaseList1" columns="staticList1,boolean1" xwql="obj.boolean1=0"/}} |