API: kyvos.viewer.db.openAddCardDialog
This event requests Kyvos to open the Add Card dialog on the dashboard.
Interface
{
"msgId": "",
"msgName": "kyvos.viewer.db.openAddCardDialog", "payload": {
"cardType": "DATA_CARD"
}
}Points to consider
Possible values for type property are: DATA_CARD, HTML_CARD, URL_CARD, GROUP_CARD, and FILTER_CARD.
Default value for the cardType is DATA_CARD, if not provided.
This API will work in the Design mode only.
NOTE:
Currently, only the card type 'DATA_CARD' and 'FILTER_CARD' are supported by this event. Any other card type will be mapped to the default card type, which is 'DATA_CARD'.