Programmatically disable/hide the Ribbon menu
We are in the process of development for Office 365 based Add-ins for Word, Excel and PowerPoint.
It would be really nice, if we could have a way to disable/hide the ribbon buttons based on some data against that particular user.
Naveed, thanks for your feedback! We are at the early stages of designing and prototyping this feature. We look forward to sharing the details as soon as we can.
As always, when the design draft is ready, we’ll present it for your review under the open-spec branches in the following repository: https://github.com/officedev/office-js-docs.
Office Extensibility Team
Any update on this matter (couldn't find anything about it in Github)?
Jake Armstrong commented
This would make a huge difference for our implementation, and is currently preventing us from using a custom ribbon altogether.
We have different functionalities available for users on Mac and Office Online due to the differential in available file-hosting options and API, and we need to hide the buttons to activate these actions where they are unavailable