logo
search
SharePoint Document Issues

How to Hide the New Forms Button in SharePoint via JSON

Elise WilliamsElise Williams Sep 30, 2026 869 views

Question details

The user needs to hide the New Forms button from a customized SharePoint list command bar using JSON formatting.

How to Hide the New Forms Button in SharePoint Command Bar via JSON
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Customizing a SharePoint list interface to streamline the command bar options for users.
Observed behavior
The New Forms button is visible on the list view and needs to be programmatically removed from the interface.
Before you start

Ensure you have at least Edit permissions on the SharePoint list to modify view settings and apply JSON formatting schemas.

Solution 1Recommended

Use the manageForms Key in JSON View Formatting

Applying a JSON schema with the manageForms key set to hide will remove the New Forms button from the command bar.

SharePoint allows advanced customization of the list command bar through JSON formatting. By targeting the 'manageForms' command key in the commandBarProps property, you can explicitly instruct the view to hide the New Forms button without altering backend site permissions.

1
Open View Formatting

Navigate to your SharePoint list, click on the View options dropdown menu located at the top right (e.g., 'All Items'), and select 'Format current view'.

2
Access Advanced Mode

At the bottom of the Format view pane that appears on the right side of the screen, click on 'Advanced mode' to open the JSON editor.

3
Apply the JSON Code

Paste the following JSON code into the editor: {"schema":"https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json","commandBarProps":{"commands":[{"key":"manageForms","hide":true}]}}.

4
Save the View

Click 'Save' to apply the formatting. The New Forms button will instantly disappear from the command bar for this specific list view.

Use the manageForms Key in JSON View Formatting
View Specificity: This JSON formatting applies only to the specific view you modified. If users switch to a different view, the button may still be visible unless the formatting is applied there as well.
Free Microsoft Office alternative

Streamline Your Office Tasks with WPS Office

While Microsoft SharePoint handles robust web list customizations, dealing with heavy desktop software for document editing can be overwhelming. Try WPS Office as a lightweight, fast, and feature-rich alternative for all your Word, Excel, and PowerPoint needs.

  1. 1. Download and Install: Visit the official WPS website to download the free, lightweight installer for Windows, Mac, or Linux.
  2. 2. Open Your Documents: Launch WPS Office and seamlessly open your existing Microsoft Word, Excel, or PowerPoint files downloaded from SharePoint without losing formatting.
  3. 3. Edit and Collaborate: Use the familiar interface to edit documents, utilize built-in PDF tools, and save your work instantly for sharing.
Seamless compatibility with Microsoft Office file formats (.docx, .xlsx, .pptx)Lightweight software that loads quickly on older devices and saves system resourcesFamiliar user interface requiring zero learning curve for seamless migrationBuilt-in PDF editing, merging, and format conversion tools at no extra cost
QA img-9

Frequently Asked Questions

Can I hide other command bar buttons using JSON in SharePoint?

Yes, you can hide various default buttons by identifying their specific command keys (such as 'exportExcel', 'share', or 'automate') and setting their 'hide' property to true within the commandBarProps array.

Does hiding the New Forms button revoke user permissions to create forms?

No, hiding a button using JSON view formatting only removes the user interface element from that specific view. It does not change backend permissions or restrict users who know alternative programmatic ways to access the feature.

Why isn't my JSON formatting saving in SharePoint?

Ensure your JSON syntax is strictly valid. Missing commas, unclosed brackets, improper quotation marks, or invalid schema URLs will prevent SharePoint from saving or correctly applying the view formatting.