Fix SharePoint JSON Formatting Missing for Hidden List Columns
Question details
Resolve an issue where custom JSON formatting on single-line text columns disappears in the Open item panel.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Viewing list item details in the Open item panel when custom-formatted columns are hidden from the active view.
- Observed behavior
- Custom JSON formatting containing elements like div, span, and a tags fails to render in the Open item panel if the corresponding column is not included in the active list view.
Verify that you have Site Owner or Member permissions to edit list views and modify column settings in your SharePoint site before attempting these fixes.
Add the Column to the Active List View
The most effective workaround is to unhide the column in your current view so the Open item panel can process its formatting.
SharePoint's modern Open item panel relies on the schema of the active list view to render custom JSON. If a column is hidden, the system does not load its formatting instructions, causing it to display as plain text.
Navigate to your SharePoint list, click the 'View options' drop-down menu in the top right corner, and select 'Edit current view'.
Locate the single-line text column that contains your JSON formatting, check the box next to its name to include it in the view, and click 'OK' to save.

Use the Details Panel or DispForm.aspx
Bypass the Open item panel entirely by utilizing standard display forms that retain custom formatting.
Report the Limitation to Microsoft
If your specific workflow dictates that the column must remain hidden from the view, you will need to escalate the issue.
Discover WPS Office for Seamless Document Management
While SharePoint has specific structural limitations with list view formatting, managing your actual documents shouldn't be a hassle. WPS Office offers a free, lightweight, and highly compatible suite for all your word processing, spreadsheet, and presentation needs.

Frequently Asked Questions
Why does JSON formatting disappear when a SharePoint column is hidden?
SharePoint optimizes performance by only loading the formatting schema of visible columns in the active list view. When a column is hidden, the Open item panel does not retrieve its custom JSON formatting rules, defaulting to plain text.
Can I hide the column from the list view but still keep the formatting in the modern panel?
Currently, this is a known limitation in SharePoint's modern experience. You must either keep the column visible in the view, use the Details pane, or access the classic DispForm.aspx page to see the formatting.
Does this rendering issue affect all JSON elements?
Yes, it typically affects standard HTML elements rendered via JSON, such as div, span, and anchor (a) tags, particularly when they are applied to single-line text columns.




