Forum Discussion

RMDUser1's avatar
RMDUser1
Copper Contributor
Mar 06, 2025
Solved

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)

2 Replies

  • Rob_Elliott's avatar
    Rob_Elliott
    Bronze 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)

  • dchenhero's avatar
    dchenhero
    Copper Contributor

    Hi RMDUser1 to hide the "+ Add column" I believe you would have to use SPFx 
    https://learn.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment

    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

Resources