Word add-in: Enable and Disable Add-in Commands

Word add-in: Enable and Disable Add-in Commands
0

Upvotes

Upvote

 Mar 26 2024
0 Comments 
New

Hello

We are developing a JavaScript-based word add-in. I have a requirement to enable/disable ribbon menu commands based on the user roles once they log in.

I have followed the link: https://learn.microsoft.com/en-us/office/dev/add-ins/design/disable-add-in-commands, but as mentioned in the documents, this feature is currently only supported in the desktop version of Word and not in the web version.

 

Even, I had tried for desktop but with the startup Office.StartupBehavior.load, it is not working and not enabled the menu back once set default state to false in manifest

Everything work fine in excel add-in.

Could you please know us when this complete feature will be available for desktop and web version of word add-in?

Thanks,
Kishan Vaishnani

 

Attachments:

image.png