Need dedicated support? Click here
Need dedicated support?
Click here

Automation API - Not able to use execute method on connector object

Do you want to: Suggest a feature / Report a bug / Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail:
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem:

I’m trying to call executeMethod onDocumentStateChange using the below code snippet but the callback for executeMethod never works nor any error comes.

Note: I’m using DocumentEditor component from @onlyoffice/document-editor-react module.

var connector = docEditor.createConnector();
connector.executeMethod(“GetAllContentControls”,null,function(data) {
alert(“callback called!!”);
for (var i = 0; i < data.length; i++) {

Document Server version: 7.2.2
Browser version: Chrome 109.0
Attach logs if possible

Hello @khushboojain
As far as I see, you have commercial license. I believe it’s better to contact us via Zendesk to get prompt replies since we have to take a closer look at described scenario. Please create a ticket here: