Fix SharePoint JSON Form Formatting Disappearing After Saving
Question details
Users apply JSON formatting to SharePoint forms, which works in the preview pane but disappears or reverts upon saving and refreshing the browser page.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Customizing SharePoint list forms using JSON formatting to arrange headers, footers, and columns.
- Observed behavior
- The applied JSON formatting shows correctly in the preview pane but reverts or disappears completely after saving the form and refreshing the page. Additionally, columns may fail to reorder correctly according to the saved JSON layout.
Ensure you have the appropriate site owner or list edit permissions in SharePoint before attempting to modify or troubleshoot JSON form configurations.
Clear Browser Cache or Use an InPrivate Window
Browser caching issues often prevent SharePoint from rendering newly saved JSON scripts, causing the form to revert to its previous state.
SharePoint relies heavily on web caching to improve loading speeds. When you update a list's JSON formatting, the browser might continue to load an older version of the page instead of fetching the new configuration.
Launch your web browser (like Edge or Chrome) and open a new InPrivate or Incognito window to bypass local cached files.
Navigate to your SharePoint list and log into your account.
Open the form formatting pane, paste your JSON code, and click Save.
Hard refresh the page (Ctrl + F5). If the formatting persists, clear your primary browser cache and cookies to fix the issue permanently.

Test JSON Configuration on a New List
Sometimes list corruption, conflicting settings, or hidden columns can block JSON formatting from saving properly.
Manually Review Form Layout and Column Order
If the form formatting stays but columns do not move according to the saved JSON, manually update the form layout via the user interface.
Boost Your Productivity with WPS Office
While SharePoint handles your online lists and team sites, you need a reliable suite for your everyday offline and local documents. WPS Office is a lightweight, feature-rich, and completely free alternative to Microsoft Office. It offers a seamless experience without heavy subscription fees.

Frequently Asked Questions
Why does my SharePoint JSON code work in preview but not after saving?
This is typically caused by aggressive browser caching. The browser loads an older cached version of the list form instead of fetching the newly saved JSON script from the server. Using an InPrivate window or clearing your browser cache usually resolves this.
What should I do if my columns aren't moving to the correct sections after saving JSON?
If the JSON configuration saves but the column order fails, open the 'Edit columns' menu in the SharePoint form configuration pane. Ensure the target columns are not hidden, and manually arrange them to match your JSON section definitions.
Should I contact Microsoft Support if the JSON formatting issue persists?
Yes. If you have verified that the issue occurs across multiple different web browsers, in newly created test lists, and affects multiple users in your organization, there may be a backend SharePoint tenant issue. Opening a support ticket with Microsoft is the recommended next step.




