Forum Discussion
hrt13
Jul 09, 2020Copper Contributor
Problem formatting list with JSON
The following code in my JSON formatting file causes the list to disappear, "txtContent": "=if([$Medium] == 'In-Person', 'Reason for requesting in-person: ' + [$in_x002d_personjustification], '')...
ganeshsanap
Jul 14, 2020MVP
You need to access the data from another column using it's internal name like:
[$InternalNameOfColumn]
Also, make sure that you have added all the columns you are using in JSON formatting in your list view. (From list view settings).
Use column formatting to customize SharePoint
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.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
- hrt13Jul 14, 2020Copper Contributor
ganeshsanapthanks for the response. I was using the internal name for the column, but I forgot to "display" the column., (as I said in my last post). Thanks for responding though.