Forum Discussion
Library View "Files that need attention" JSON hide commands Error
Hi,
on a SharePoint Library i used a JSON to hide the new, upload and share button, describe here: Command bar customization syntax reference | Microsoft Learn
For my created views, this works perfectly. In my document library i have some required fields, and the out of the box view "Files that need attention".
if i go to Format current view --> Switch to design mode -> And paste the same json there, i get an error: Error saving view format
the JSON i use:
{
"commandBarProps": {
"commands": [
{
"key": "editInGridView",
"hide": true
}
]
}
}
Error Message:
in the Edge DEV tool i get an 400 Bad Request for the Views(@a2)/SetViewXml()?@..
The JSON is valid on a standard View, using different commands result in same error.
Do you know why this view cant be changed? so far i could not find any info about the view "File That need attention"
Is there a way to disable the View?
Best Johannes