Forum Discussion
Mehmet Demirörs
Feb 24, 2021Copper Contributor
SharePoint List column formatting - CardProps not working if input column is hidden
JSON Formatting Level: BEGINNER I am trying to hide some column in oder to have a clean list view and to provide information if required via CardProps (info column). If the input column (Descrip...
- Feb 24, 2021
This is the expected behavior in SharePoint online modern experience.
In order to add the reference to the column in JSON (column/view) formatting, you have to show that column in the list view (as you are referencing it using [$Description]). Hiding the column from list view will not work in this case.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
gianmaria_leoni
Mar 12, 2021Copper Contributor
Dear ganeshsanap and Mehmet Demirörs,
Do you know if there is an existing uservoice entry to allow using hidden fields? If not what about inserting it? Which section of https://sharepoint.uservoice.com/ would be better? I suppose SharePoint Dev Platform but I'm not sure.
Regards
Gianmaria
RobElliott
Mar 12, 2021Silver Contributor
gianmaria_leoni there doesn't appear to be an existing uservoice request to allow hidden columns in the JSON view format. The list of JSON-related requests is here.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
- gianmaria_leoniMar 15, 2021Copper Contributor
RobElliott ganeshsanap Mehmet Demirörs User Voice created, you can check it and vote it https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/42919083-json