Document toolboxDocument toolbox

Event: kyvos.viewer.db.onAddCardDialogOpen

Applies to: Kyvos Enterprise  Kyvos Cloud (SaaS on AWS) Kyvos AWS Marketplace

Kyvos Azure Marketplace   Kyvos GCP Marketplace Kyvos Single Node Installation (Kyvos SNI)


This event is triggered when the Add Card dialog is opened.

From Kyvos 2024.2 onwards, non-data cards, such as Data cards, HTML cards, URL cards, Filter cards, and Group Cards, can be added through JavaScript events.

Following are the card types and their respective keys. You can use the card key to add the card.

Card Type

Key

Card Type

Key

Data card

DATA_CARD

HTML card

HTML_CARD

URL card

URL_CARD

Filter card

FILTER_CARD

Group card

GROUP_CARD

Interface

{ "msgId": "", "msgName": "kyvos.viewer.db.onAddCardDialogOpen", "integrationId": "", "payload": { "info": { "status": "success", "desc": "" }, "data": { "cardType": "<DATA_CARD>" } } }

Points to Consider

If cardType is not provided, its default value is DATA_CARD.

Copyright Kyvos, Inc. All rights reserved.