This event would be emitted when workbook has been saved.
Interface
{"msgId": "",
"msgName": "kyvos.viewer.saveWorkbook"}
Points to Consider
wbId - workbook identifier. wbName - workbook name.
Example
1. Success
{
"msgId": "16697102479679127084072174132303",
"msgName": "kyvos.viewer.onWorkbookSave", "integrationId": "INT_15984490249402127061084151067457",
"payload": {
"info": {
"status": "success",
"desc": "Entity saved successfully", "code": 0
},
"data": {
"wbId": "Workbook16696262783109127077025192299897",
"wbName": "Workbook 1"
}
}
}
2. Failure
{
"msgId": "16697102479679127084072174132303",
"msgName": "kyvos.viewer.onWorkbookSave", "integrationId": "INT_15984490249402127061084151067457",
"payload": {
"info": {
"status": "failure",
"code": -1,
"desc": "Error in saving an entity."
},
"data": {
"wbId": "Workbook16696262783109127077025192299897",
"wbName": "Workbook 1"
}
}
}
3. Timeout
{
"msgId": "16697102479679127084072174132303",
"msgName": "kyvos.viewer.onWorkbookSave", "integrationId": "INT_15984490249402127061084151067457",
"payload": {
"info": {
"status": "failure",
"code": -2,
"desc": "Timeout error."
}
}
}