This event would request Kyvos to duplicate a widget card.
Code Block | ||
---|---|---|
| ||
{ "msgName": "kyvos.viewer.db.duplicateWidget", "payload": { "widgetId": "", "duplicateSheet" : false } } |
...
This API will only work in the design mode.
This API requires a valid widget idID.
Not This API is not applicable for GROUP_CARDS
For DATA_CARD, you can choose to duplicate source sheet as well.
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Note For DATA_CARD,
|
Sample
Code Block | ||
---|---|---|
| ||
{ "msgName": "kyvos.viewer.db.duplicateWidget", "payload": { "widgetId": "dbwidget17291538965135127025035116481996", "duplicateSheet" : false } } |