Document toolboxDocument toolbox

Event: kyvos.viewer.onSaveAsComplete

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 the host app clicks the Save button in the opened modal.

Interface

{"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 the following:

  • srcWbId = sourceWorkbookId

  • srcWbName = sourceWorkbookName

  • srcWbFolderName = sourceWorkbookFolderName

  • srcWbFolderId = sourceWorkbookFolderId

  • destWbName = destinationWorkbookFolderName

  • destWbFolderName = destinationWorkbookFolderName

  • destWbFolderId = destinationWorkbookFolderId

  • destWbId = destinationWorkbookId

Example

{ "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" } } }



Copyright Kyvos, Inc. All rights reserved.