Closed CodeCube0 closed 1 month ago
Hi @CodeCube0,
Thanks for reaching out. Have you attempted do to this with an Office Add-in yet? Are there specific issues you're encountering?
The article Add-in commands should help you get started.
I should do the add-in for outlook.
I can't make this Ribbon. Because the manifest.xml doesn't allow me to add more than 6 buttons per group and if I add 5 it shows me three large ones and two small ones. I would also like some actions to integrate into the contextual menus that open with a right click on an email in Outlook but from the documentation I see that there is no way to do it.
Sorry I missed the button count issue. It is true that web add-ins have far less control over the UI than COM add-ins. Part of this is to ensure the ribbon works in desktop, web, and Mac. If you want a more customized UI, you'll need to use a task pane instead of the ribbon.
To request the features needed to support your vision, please go to the M365 Developer Platform Tech Community site. I'll also tag @exextoc for awareness.
@CodeCube0 - Thanks for submitting this. Unfortunately you can't control the button layout for any application in Office (Word, Excel, Power point, or Outlook). There is a set heuristic for certain numbers of buttons. Three buttons are big, and then if you have 4 there is another layout, and then 5 or 6 has a different layout, and 6+ has small controls.
As Alex mentioned, this is a great thing to support as a feature request along with the request for contextual right click menus in M365 Developer Platform Tech Community site. Hope that helps!
I'll close this issue, since there's nothing actionable to be done in the docs.
How could I replicate this ribbon with the manifest.xml?