Versions Compared

Key

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

This event would be emitted when user clicks on save button of rename dialog

Interface

{"msgId": "",
"msgName": Applies to: (tick) Kyvos Enterprise  (tick) Kyvos Cloud (SaaS on AWS) (tick) Kyvos AWS Marketplace

(tick) Kyvos Azure Marketplace   (tick) Kyvos GCP Marketplace (tick) Kyvos Single Node Installation (Kyvos SNI)

...

This event will be triggered when a user clicks the Save button on the Rename dialog.

Interface

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

...


"info": {

...


"status": "success",

...


"desc": "Rename successfully."

...


},

...


"data": {

...


"worksheetId": "", "worksheetPrevName": "", "worksheetNewName": ""

...


}

...


}

...


}}

Points to

...

consider

  1. In payload,

...

  1. the Host App will get

...

  1. worksheetPrevName

...

  1. ,

...

  1. worksheetNewName

...

  1. , and

...

  1. worksheetId

...

  1. .

Example

Code Block
{"msgId": "16902274687317127070085178274360",

...


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

...


"info": {

...


"status": "success",

...


"desc": "Worksheet renamed successfully.", "extDesc": "",

...


"code": 0

...


},

...


"data": {

...


"workSheetId": "16893155276982127060072136667969",

...


"workSheetPrevName": "Sheet 1 copy 2",

...


"workSheetNewName": "Sheet 2"

...


}

...


}}