Versions Compared

Key

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

This event would be emitted when host app click save This event will be triggered when the host app clicks the Save button in the opened modal.

Interface

Code Block
{"msgId": "",

...


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

...


"info": {

...


"status": "success",

...


"desc": ""

...


},

...


"data": { "srcWbId": "",

...


"srcWbName": "", "srcWbFolderName": "", "srcWbFolderId": "",

...


"destWbName": "", "destWbFolderName": "", "destWbFolderId": "", "destWbId": ""

...


}

...


}}

Points to

...

consider

In payload,

...

the Host App will get

...

Example

{
"msgId": "16929833611622127059041153462843",
"msgName": the following:

  • srcWbId = sourceWorkbookId

  • srcWbName = sourceWorkbookName

  • srcWbFolderName = sourceWorkbookFolderName

  • srcWbFolderId = sourceWorkbookFolderId

  • destWbName = destinationWorkbookFolderName

  • destWbFolderName = destinationWorkbookFolderName

  • destWbFolderId = destinationWorkbookFolderId

  • destWbId = destinationWorkbookId

Example

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

...


"info": {

...


"status": "success",

...


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

...


"code": 0

...


},

...


"data": {

...


"srcWbId": "Workbook16842178832565127033087167053647",

...


"srcWbName": "DEMO_WorkbookUseInIntegration", "srcWbFolderName": "SharedFilterMerativeDemoFolder", "srcWbFolderId": "folder_16842178757410127084022176331045",

...


"destWbName": "DEMO_WorkbookUseInIntegration12", "destWbFolderName": "SharedFilterMerativeDemoFolder", "destWbFolderId": "folder_16842178757410127084022176331045", "destWbId": "Workbook16913928227326127082086157811174"

...


}

...


}

...


}