If I want to assign a color to a specific person ('[email protected]'), how can I achieve this:
{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField.title",
"style": { "color": "=if('[email protected]' == @currentField.email, 'red', 'blue')"
} }
The above code doesn't work. Is it even possible to query a specific person?