This event would be emitted when calculated measure dialog has been opened.
Interface
{"msgId": "",
"msgName": This event will be triggered when the Calculated Measures dialog is opened.
Interface
Code Block |
---|
{"msgId": "", "msgName": "kyvos.viewer.wb.onCalculatedMeasuresDialogOpen", "payload": { |
...
"info": { |
...
"status": "success", |
...
"desc": "" |
...
}, |
...
"data": { |
...
}} |
Points to
...
consider
- With this event, the HOST _ APP may get status as "pending" If , if expressions are not yet fetched. In this scenario, once the expressions are fetched, the HOST _ APP will get the same event with status "success". The HOST _ APP should handle this case.
Example
Code Block |
---|
{"msgId": "Guid_5003806380", |
...
"msgName": "kyvos.viewer.wb.onCalculatedMeasuresDialogOpen", "payload": { |
...
"info": { |
...
"status": "success", |
...
"desc": "Calculated Measures dialog opened successfully.", "extDesc": "", |
...
"code": 0 |
...
}, |
...
"data": null |
...
}} |