Ben Gan
Ben Gan

Reputation: 145

Using Word add-in JavaScript API in Word Online (browser)

I am trying to use the Word add-in JavaScript API in Word Online (browser)

when I run

Word.run(function (context) {
  // Create a proxy object for the document.
  var thisDocument = context.document;
})

It runs fine in Word 2016 desktop but in Word Online I get an error:

'Word' is undefined

Questions:

  1. Is this Word Api usable in Word Online?
  2. If not, when will this Api be usable in Word Online?

Upvotes: 1

Views: 2282

Answers (1)

Gab Royer
Gab Royer

Reputation: 9806

That's because the new Word APIs are not yet available on Word Online. As shown on this site, they should be available on Word Online in Q1 of 2016.

Gabriel Royer

Developer on the Office Extensibility Team, MSFT

Upvotes: 3

Related Questions