Jul 14 2023 08:01 AM
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
}
]
}
}
Jul 16 2023 05:48 AM
Solution
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
}
]
}
}
Jul 16 2023 09:58 PM
Jul 16 2023 05:48 AM
Solution
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
}
]
}
}