Hello! I am using spreadsheet desktop editor.
I open an xlsx document and run the plugin from the current book. I want the editor to send the current book data to the plugin (similar to sending selected text when you select variations.initDataType = text in config.json file).
I’m trying to use in config.json file variations.initDataType = desktop.
“variations”: [
{
…
“initDataType”: “desktop”,
“initData”: “”,
…
and expecting to use it like data on window.Asc.plugin.init:
window.Asc.plugin.init = function (data) {
…
But this one doesn’t work. The analogous method variations.initDataType = text works.
Please tell me how to use variations.initDataType = desktop or what method can I return the data of the current workbook to the plugin from the current open workbook where I run the plugin.