0 Votes

Wiki source code of AWMKanbanMacro

Last modified by Ryan C on 2025/03/07 00:41

Show last authors
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 ##{{{
6 {{awmkanban app="Help.Applications.Movies" category="databaseList1" displayedCategoryColumns="Help.Applications.Contributors.Charlie Chaplin" columns="staticList1,boolean1" xwql="obj.boolean1=0" /}}
7 }}}##
8
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
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
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
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"/}}