Try the fastest and simplest way to install ONLYOFFICE

Plugin autostart

Integration questions/issues

Plugin autostart

Postby lukem » Thu May 24, 2018 11:35 am

Hi,

(Using online editors)
I have modified 2 example plugins to modify the UI. (attached)
I would like for these plugins to autostart once the editor has loaded and make the changes to the UI.
Following the instructions here https://api.onlyoffice.com/plugin/installation I've added the plugins the the skdjs-plugins directory and updated the default.json with the following.

Code: Select all
"plugins": {
        "uri": "/sdkjs-plugins",
        "autostart": [
                "asc.{B62BC2E0-858A-444F-B288-9190DE68B3FE}", #UI Customizer
                "asc.{B62BC2E0-858A-444F-B211-9190DE68B3FE}", #UI Customiser
                "asc.{F5BACB61-64C5-4711-AC8A-D01EC3B2F2E2}" #custom plugin
        ]
},


Looking at the network requests i can see that the plugins.json file contains the following:

Code: Select all
{
    "url":"",
    "pluginsData":[
        "../../../../sdkjs-plugins/interface/config.json", //UI
        "../../../../sdkjs-plugins/pictures/config.json", //Custom
        "../../../../sdkjs-plugins/plugin_valgenesis/config.json" //UI
    ],
    "autostart":[
        "asc.{B62BC2E0-858A-444F-B288-9190DE68B3FE}",
        "asc.{B62BC2E0-858A-444F-B211-9190DE68B3FE}",
        "asc.{F5BACB61-64C5-4711-AC8A-D01EC3B2F2E2}"
    ]
}


None of the plugins seem to autostart.
is there something i'm doing wrong?

Kind Regards,
Luke
Attachments
ui plugins.zip
(4.21 KiB) Downloaded 13 times
lukem
 
Posts: 1
Joined: Thu May 24, 2018 10:36 am

Re: Plugin autostart

Postby Carl » Fri Jun 15, 2018 1:00 pm

Hello.

UI customization is not included in standard support case. Please contact our Sales team at sales@onlyoffice.com, they will be glad to inform you about customization services we can provide.
Carl
 
Posts: 27
Joined: Thu Apr 12, 2018 10:00 am


Return to Plugins

Who is online

Users browsing this forum: No registered users and 1 guest

cron