Pages

Tuesday, July 14, 2020

Display Lookup columns in Column Formatting in SharePoint Online lists

Problem

I was trying to display a column value through lookup field in column formatting. I want to display the lookup value of a custom field (Not the title or Id). 



I want to my Country column display as US - United States. Here are the attempts which didn't work. 


Solution


I got this sorted by using the CAML Designer.