This event would be emitted when user clicks on save button of calculated measure dialog.
Interface
{"msgId": "",
"msgName": 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 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
In payload,
...
the Host App will get wbId
...
and wbName.
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" |
...
} |
...
} |
...
}, |