Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

This event would request Kyvos to duplicate a widget card.

{
  "msgName": "kyvos.viewer.db.duplicateWidget",
  "payload": {
    "widgetId": "",
    "duplicateSheet" : false
  }
}

Points to consider

  1. This API will only work in design mode.

  2. This API requires a valid widget id.

  3. Not applicable for GROUP_CARDS

  4. For DATA_CARD, you can choose to duplicate source sheet as well.

Note

For DATA_CARD,

If the duplicateSheet key is not provided, the default behavior will be true, and the source sheet will also be duplicated.

If the value of duplicateSheet is false, only the widget will be duplicated.

Sample

{
  "msgName": "kyvos.viewer.db.duplicateWidget",
  "payload": {
    "widgetId": "dbwidget17291538965135127025035116481996",
    "duplicateSheet" : false
  }
}
  • No labels