Open List Item Panel - No JSON Formatting if Column is Hidden in List View

DB365-3161 101 Reputation points
2021-03-26T07:48:16.79+00:00

I have a list column (single line of text) that is formatted using JSON. The column is hidden in the list view. If I double-click on the item to view the details in the Open item panel, the column field has no JSON formatting. However, the column field is formatted correctly in the Details/Properties panel, and in the DispForm.aspx page.

If I add the column to the list view, the column is formatted correctly in the Open item panel. However, I don't want the column to be in the list view, as there are many columns.

This issue is consistent for different JSON element types (a, div, span, etc.).

Is this a known issue, and will it be addressed?

Windows 10 Enterprise Version 10.0.19042 (64-bit)
Browsers:
* Microsoft Edge Version 89.0.774.57 (Official build) (64-bit)
* Google Chrome Version 89.0.4389.90 (Official Build) (64-bit)

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,682 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jerry Xu-MSFT 7,921 Reputation points
    2021-03-29T02:55:32.593+00:00

    Hi, @DB365-3161 ,

    First I want to confirm about the DispForm.aspx page. Would you like to provide a screenshot of it ? As in modern experience we actually don't have a DispForm.aspx.

    For the behavior, I can reproduce in my end. As long as the JSON formatting are referring to the column hidden (like using a if condition with that column), the JSON will not work when you open the item. And the column field is formatted correctly in the Details/Properties panel.

    AFAIK, this is a by-design behavior. For now I am not sure if there is a workaround for it. If this action really bothers you, have a service request about it and see if the support team have an option for it.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful