I have a SharePoint list with a column called 'Name' (Person/Group type) where you can select a name from Active Directory.
I have then set up JSON formatting to auto populate the Email column. I'm using the following code:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "[$Name.email]"
}
I would also like the Office Location to be auto populating in a similar way, but I cannot achieve this by modifying the above code. My proper name for that location column is:
Faculty_x0020__x002f__x0020_CPS
Would you have any advice? How do I reference the 'Office Location' Active Directory entry?