Forum Discussion
Murali_Kurva
Jul 14, 2023Copper Contributor
Hide "Folder" and "Template" under "Upload" on SharePoint document library
Hi Experts, We need to hide "Folders" and "Template" fields under "Upload" on SharePoint document library on SP online. Only Files option need visible when click on "Upload".
By editing permissions we can, but its not visible for full control users also. Your suggestions are higly appreciated.
Looking jason script like
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",
"commandBarProps": {
"commands": [
{
"key": "Folder",
"hide": true
},
{
"key": "Template",
"hide": true
}
]
}
}
This should do it 🙂
{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", "commandBarProps": { "commands": [ { "key": "uploadTemplate", "hide": true }, { "key": "uploadFolder", "hide": true } ] } }
2 Replies
Sort By
This should do it 🙂
{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", "commandBarProps": { "commands": [ { "key": "uploadTemplate", "hide": true }, { "key": "uploadFolder", "hide": true } ] } }
- Murali_KurvaCopper ContributorThank you, it working as we expected.