Document toolboxDocument toolbox

Event: kyvos.viewer.db.onLayoutUpdate

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 dashboard layout is updated.

Interface

{ "msgId": "", "msgName": "kyvos.viewer.db.onLayoutUpdate", "integrationId": "", "payload": { "info": { "status": "success", "desc": "" }, "data": { "actionPerformed": "" } } }

Points to consider

  1. This event will be triggered when a card position gets updated, a card gets removed or added.

  2. This event will be triggered when a card moves to and copies to another group and tab switching (in case of group card).

  3. This event will be triggered  on card resize.

  4. This event will work in the Design mode only.

This event would be emitted

  • when a card position gets updated, a card gets removed or added.

  • when a card moves to & copies to another group and tab swithching (in case of group card).

  • on card resize.

Note

This event will work in the design mode only.

To identify the exact action that triggered this event, the ‘actionPerformed’ attribute has been added. This contains any one of the following values:

  • CARD_POSITION_CHANGED:This value is sent when a card is resized or moved.

  • CARD_ADDED: This value is sent when a new card is added.

  • CARD_REMOVED: This value is sent when a card is removed.

  • CARD_MOVED_TO_ANOTHER_GROUP: This value is sent when a card is moved to another group (group card)

  • CARD_REMOVED_FROM_GROUP: This value is sent when a card is removed from another group.

  • CARD_COPIED_TO_ANOTHER_GROUP: This value is sent when a card is copied from one group to another.

  • DUPLICATE_CARD: This value is sent when a card is duplicated.

  • GROUP_CARD_TAB_SWITCHED: This value is sent when a group card tab is switched.

  • CARD_ZINDEX_PROPERTY_UPDATED: This value is sent when a card floating property is changed.

Copyright Kyvos, Inc. All rights reserved.