Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This event would be emitted when user clicks on save button of calculated measure dialog.

Interface

{"msgId": "",
"msgName": This event will be triggered when a user clicks the Save button on the Calculated Measures dialog.

Interface

Code Block
{"msgId": "",
"msgName": "kyvos.viewer.wb.onCalculatedMeasuresSave", "payload": {

...


"info": {

...


"status": "success",

...


"desc": "Calculated Measures saved successfully."

...


},

...


"data": {

...


"wbId": "",

...


"wbName": ""

...


}

...


}}

Points to Consider

  1. In payload, HostApp the Host App will get wbId , and wbName.
  2. Workbook will be saved when this API is executed.

Example

Code Block
{

...


"msgId": "16929831994277127033012171125687",

...


"msgName": "kyvos.viewer.wb.onCalculatedMeasuresSave", "payload": {

...


"info": {

...


"status": "success",

...


"desc": "Calculated Measures dialog closed. All calculated measures saved in workbook.",

...


"extDesc": "", "code": 0

...


},

...


"data": {

...


"wbId": "Workbook16842178832565127033087167053647",

...


"wbName": "DEMO_WorkbookUseInIntegration"

...


}

...


}

...


},