window.Asc.plugin.executeMethod ("GetFields", null, function (res) { console.log ("First field: " + res[0]) });