Formatting JSON of subElements from commandBar not working - clipchamp Video #10016
Open
2 of 9 tasks
Labels
Needs: Triage 🔍
Awaiting categorization and initial review.
What type of issue is this?
Documentation issue / typo
What SharePoint development model, framework, SDK or API is this about?
Declarative list formatting
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
Additional environment details
Issue description
Formatting JSON for hiding sub-elements under the "New" button in a SharePoint list.
Unable to hide "Clipchamp Video" under the "New" button. I was able to hide the below but not Climpchamp:
{
"key": "newWordDocument",
"hide": true
},
{
"key": "newExcelWorkbook",
"hide": true
},
{
"key": "newPowerPointPresentation",
"hide": true
},
{
"key": "newOneNoteNotebook",
"hide": true
},
{
"key": "newFormsForExcel",
"hide": true
},
{
"key": "newVisioDrawing",
"hide": true
},
Steps to reproduce - I have tried all variations:
Create a view and open format view panel
Use JSON to hide Export to Excel submenu from Export button
Insert this JSON
{
"commandBarProps": {
"commands": [
{
"key": "newClipchamp",
"hide": true
},{
"key": "newClipchampVideo",
"hide": true
},{
"key": "newClipChampVideo",
"hide": true
},{
"key": "newClipchampvideo",
"hide": true
},
]
}
}
What is the correct key to hide the "Clipchamp Video" sub menu?
The text was updated successfully, but these errors were encountered: