Dashboard
Description
Display a Dashboard card with different dataSource connections allow a user to dispatch the card info based on provided configuration.
Attributes
tile
=dashboard
title
connect
: Provide an datasource connection object..standard fields..
options
:background
: default background color of cardmessage
: provide a message to display in trackericon
ifComplete
: show | hide. Display dashboard card based on this one by default is show.singular
: Text to display when having one dispatcheszero
: Text to display when not having a dispatchesplural
: Text to display when having more than one dispatchesdispatch
: provide dispatch information for processing the dispatch like provide a tracker handle,etc...instruction
: Show Description before dispatching the datacomplete
: Show Description after dispatching the dataimage
: image for dashboard cards
dashboard
: Provide a configuration related to filter the connection objects for e.g timeseries
Example
{
"tile": "dashboard",
"dashboard": {
"timeSeries": "YYYY-MM-DD; DD MMM; P1D"
},
"connect": [
{
"title": "Wellness test",
"source": "wellness",
"pick": "1",
"apply": "sum(ls)",
"state": "result >= 1",
"options": {
"background": "#5DB354",
"message": "Wellness check in",
"icon": "user-check fas",
"instruction": "Hello test description",
"singular": "Complete dispatch of single data!",
"plural": "Complete dispatch of list of enteries",
"zero": "Having No entries",
"complete": "Description after getting dispatches",
"dispatch": {
"tracker": "wellness",
"features": {
"users": "hidden",
"time": "hidden"
}
}
}
}
]
}