I am using this code:
Word.run(function (context) {
context.application.createDocument().open();
return context.sync();
})
To open Word in Office 365 online, it is not working. I am getting this error:
Sorry, this function isn’t available. Perform a run-time check on the Office add-in to find out whether the feature is supported by the host.
I am using the https://appsforoffice.microsoft.com/lib/beta/hosted/office.js
version.
Is there any road map for availability of this in Word Online?