Forum Discussion
Matherj
Nov 14, 2024Copper Contributor
Hiding Powerautomate Button on Sharepoint Site Command Bar
Hi All,
Hope everyone is well today, I have a query regarding hiding a button from the command bar in Sharepoint.
At the moment I have formatted the document library's current view with this JSON file as per (https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-commandbar-formatting)
However I've not been able to hide the "Automate > Rules" button using the following:
This was working last time I checked when I originally setup this JSON however it isn't working today! Any suggestions would be much appreciated
3 Replies
Sort By
- mrSandbugCopper Contributor
I have had this issue with the New and New Link buttons for some time now. They cannot be hidden, renamed or moved to overflow. It has worked fine earlier with the same JSON but not anymore. I have tried raising a support ticket but after a couple of months they don't want to take responsibility but instead told me to ask around in the forums.
Matherj JeffWeiss
This seems like a issue at Microsoft end for "Automate" menu. Try raising support ticket with Microsoft and report this behaviour: Get support for Microsoft 365 - Online support- JeffWeissCopper Contributor
I've been fighting this for a week or so. Another sloppy update like the gallery card resize problem a few weeks ago. I'm guessing they messed up the key to use in the commandBarProps JSON view formatting for Automate. The keys to hide the sub menu commands for creating and managing rules still work, so the Automate button shows a Rules submenu with nothing in it. There hasn't been a documented key for the Rules in the same way as PowerAutomate under the Integrate button. Hopefully, a fix for hiding Automate will also provide a key for Rules - and an update to the documentation.