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
- browser version: all latest version
Describe the bug / error
-
there's at least one error/typo in the documentation about the commandBarCustomization keys btw: it should be 'UploadCommand' instead of 'uploadCommand'.
-
when trying to 'rebrand' the newFolder command, we just can't get the correct key to handle it. As 'new' was changed to 'newComposite' (as per updated documentation) we tried to the the same for the 'newFolder' command, so we tried 'newCompositeFolder', 'NewCompositeFolder', 'newFolderCommand', 'NewFolderCommand', etc, but no luck.
{
"key": "newFolder",
"hide": false,
"text": "newFolder Custom name on primary level",
"iconName": "FabricNewFolder",
"selectionModes": [
"NoSelection"
],
"position": 1
}
Steps to reproduce
- create a new list
- format the view formatting json with the following json code:
{ "key": "newCompositeFolder", "hide": false, "text": "newFolder Custom name on primary level", "iconName": "FabricNewFolder", "selectionModes": [ "NoSelection" ], "position": 1 }
- Nothing changes in the commandBar, the New button is visible, with newFolder as a sublevel button:
Expected behavior
it should look like this, screenshot from a tenant with the 'old' SP List implementation (still includes the (i) button for the info panel on the right)