Versions Compared

Key

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

This event would be emitted when export is completed.

Interface

{"msgId": "",
"msgName": This event will be triggered when the export is completed.

Interface

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

...


"info": { "status": "",

...


"desc": "",

...


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

...


},

...


"data": { "sheetName": "",

...


"uniqueId": "",

...


"sheetId": ""

...


}}

Points to

...

consider

  1. HostApp The Host App will get " sheetName", " uniqueId" , and " sheetId " in the payload.

Example

Code Block
{"msgId": "16929834635148127019036138713300",

...


"msgName": "kyvos.viewer.onExportComplete", "payload": {

...


"info": {

...


"status": "success",

...


"desc": "Export completed successfully.", "extDesc": "",

...


"code": 0

...


},

...


"data": {

...


"sheetName": "Sheet 1",

...


"uniqueId": "Sheet16929832377937653862-16929834581229127093028134279434", "sheetId": "Sheet16929832377937653862"

...


}

...


}}