client-side ribbon manipulation

client-side ribbon manipulation
6

Upvotes

Upvote

 May 21 2021
5 Comments (5 New)
Working on it

I'd like to see the ability to register ribbon items (tabs and their children) dynamically on the client-side via my app or some tenant scoped javascript that I can register (needs to work with SharePoint Online and should not block submittal to the store). Right now the only way to register a ribbon item of any sort is to do so during the app installation which doesn’t allow us to extend the ribbon over time (either with our own service adding items or by allowing the user to add their own items via an app or whatever).

Comments
Microsoft
Status changed to: Working on it

We are working on this, with enable/disable completed and more to come: Enable and Disable Add-in Commands - Office Add-ins | Microsoft Docs.

 

Please let us know what more you'd like to see!

Copper Contributor

Hi, what is the status on this?

Microsoft

Ability to dynamically enable/disable Ribbon commands has been released with requirement set RibbonApi 1.1: https://docs.microsoft.com/en-us/office/dev/add-ins/design/disable-add-in-commands

 

Ability to have contextual tabs that show/hide dynamically has been released in Excel with requirement set RibbonApi 1.2: https://docs.microsoft.com/en-us/office/dev/add-ins/design/contextual-tabs

 

Ability to add built-in commands to a custom ribbon group/tab has been released in PowerPoint for the Web with requirement set AddinCommands 1.3: https://docs.microsoft.com/en-us/office/dev/add-ins/design/built-in-button-integration and https://docs.microsoft.com/en-us/office/dev/add-ins/design/custom-tab-placement 

Copper Contributor

Ah, nice! So this is completed, then, as it seems.

Iron Contributor

I think this is an important adjacent issue that should be done before this is marked as completed: Ability to disable add-in commands on the context menu - Microsoft Community Hub

 

We have the same demand.