OfficeJS Word add-in support for Office.StartupBehavior.load

OfficeJS Word add-in support for Office.StartupBehavior.load
0

Upvotes

Upvote

 Jul 20 2022
0 Comments 
New

I am developing a word add-in which should be loaded on document open and it should support both desktop and web apps.

When I am trying to use 'Office.addin.setStartupBehavior(Office.StartupBehavior.load)' for office word on the web then getting RichApi  InvalidRequest error.

RichApi.Error: InvalidRequest
at new n (word-web-16.00.js:25:309056)
at i.processRequestExecutorResponseMessage (word-web-16.00.js:25:373222)
at word-web-16.00.js:25:371285

 

It would be really nice if we get 'Office.StartupBehavior.load' support for office word on the web at the earliest.

 

Thank you!