Ability to disable add-in commands on the context menu

Ability to disable add-in commands on the context menu
3

Upvotes

Upvote

 Jul 07 2022
1 Comments (1 New)
New

I'm working in Excel but the same should apply for all products where you can define custom add-in commands. When you create a custom add-in command in the ribbon, you are able to toggle it from enabled to disabled and back again using Office.Ribbon.RequestUpdate(). You cannot do the same when you define a command for the context menu. I need to be able to toggle the availability or enabled state of my add-in command(s) in the context menu. The function we want to use a command for doesn't make sense to add as a button in the ribbon. 

Comments
Copper Contributor

Please add this, it is very basic feature I dont understand why context menu buttons can not be disabled? Is that so difficult to do?