Forum Discussion
RMDUser1
Mar 06, 2025Brass Contributor
Hide the +Add Column from SharePoint Library view
Does anyone know if there's a way to completely hide the +Add Column button from a Library view?
My users have Contribute access (cannot go any lower as they need to work with the library, adding and editing) and I can see if takes away their ability to create new columns - which is great.
However, to avoid confusion (and them changing the view and then losing it when navigating away) I really want to just take it away altogether. Is there a way to do this? With JSON on view formatting perhaps?
I believe it can be done with the SPFx framework, but out-of-the-box it's not possible to hide it.
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)
- Rob_ElliottBronze Contributor
I believe it can be done with the SPFx framework, but out-of-the-box it's not possible to hide it.
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver) - dchenheroCopper Contributor
Hi RMDUser1 to hide the "+ Add column" I believe you would have to use SPFx
Set up your SharePoint Framework development environment | Microsoft Learn
However if you're okay with just hiding the entirety of columns, you can use this JSON
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",
"hideColumnHeader": true
}
Heres a picture of what it looks like