-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
Declarative list formatting
Developer environment
Windows
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
Edge Version 142.0.3595.76 (Official build) (64-bit)
Describe the bug / error
I have some pretty long view formatting, which hides "Every button" except for the "automate", and "Export" buttons in the UI, so this is what I end up with ... all the "Kopi af...." are Quick steps triggering Power Automate
The relevant formatting here is:
...
{
"key": "automate",
"hide": false,
"text": "Opret",
"iconName": "Add",
"primary": true
},
...
{
"key": "export",
"hide": false
},
...However, as you can see the "primary is not taking affect on the automate button" 🤷 - however assigning it a position solves that
...
{
"key": "automate",
"hide": false,
"text": "Opret",
"iconName": "Add",
"primary": true,
"position": 1
},
...
{
"key": "export",
"hide": false,
"position": 2
},
...But that introduces an interesting issue, under each of the drop down all of the otherwise hidden buttons now appear, without any other changes to the view formatting
Steps to reproduce
- Create a list
- Hide all the fields (Formatting.json)
- See that export Power BI is visible
- Remove position from the two relevant buttons
- Observe that it's now there
Expected behavior
No matter the position of the "group" all the keys that I've requested to be hidden should remain hidden.