0

I am trying to format a document library in our SharePoint Online platform.

The goal is to have a row with a video thumbnail, title and short description. The title is not the same as the video file and the thumbnail is also a separate png image. Therefore I have created additional columns that contain this information, but I don't want these columns to be shown.

Problem: When I hide the columns with the title or thumbnail, I cannot access the information using JSON formatting. The field where the title and thumbnail were before are empty when I hide the two columns.

How can I access the information within the hidden columns?

0

This is a known behavior in SharePoint.

In order to format a column or view using JSON, the column you are referencing in JSON code must be included in the list view.

According to official documentation,

You construct a JSON object that describes the elements that are displayed when a field is included in a list view, and the styles to be applied to those elements.

| improve this answer | |
  • Ok. Is there any way to work around this? – redleo85 Aug 18 at 15:34
  • I think there is no workaround for this as of now. You have to include the columns in the list view – Ganesh Sanap Aug 18 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.