I'm formatting a list for an org. chart-ish view and formatting the list JSON.
I use the person field to extract some information directly from the "User".
E.g. the users email address to display the email of that contact (with $person.email
) or the name (with $person.title
).
Is there a list of information which can be extracted / used from this person object?
I didn't find on the internet.
Tested some terms, but nothing but .id
worked.
I'm thinking of work phone or something.
Any ideas?
"children": [
{
"elmType": "a",
"style": {
"cursor": "pointer"
},
"attributes": {
"class": "ms-fontColor-red",
"iconName": "Mail",
"href": "='mailto:' + [$User.email] + '?body=Dear ' + [$User.title] + ',\r\n'",
"title": "='E-Mail an ' + [$User.title]"
}
}
]