question

after avatar image
0 Votes"
after asked after answered

WORD add-in generated by generator-office can not load Office object

According to the official Office documentation, I tried to use Yeoman's generator-office to generate WORD add-in, and then use npm start to start, but in the Taskpane it always showed as bellow:

img

Using the Microsoft Edge DevTools Preview tool, I can see the missing Office objects:

img

But when I visited the web page, I can see that the Office object is loaded successfully:

img

img

Why is the Office object unsuccessful when accessing this add-in in WORD?

office-addins-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

after avatar image
0 Votes"
after answered

Recorded following on May 19th. I tried to executed this example on another computer with Win7 and Office Professional 2016,it works well. So this question has something to do with the version?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

after avatar image
0 Votes"
after answered

I tried the Office 2019 Professional,this problem is solved. I don't know it's the problem of edition, or of activation.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.