I'm trying to get a photo to show on my view. Tried the below but it won't work:
"attributes": {
"src": "='https://aaa.sharepoint.com/sites/XXX/_layouts/15/userphoto.aspx?size=S&accountname=' + [$Email]",
"title": "[$Display_x0020_Name]"
}
The Email field is an email address. Any ideas what I'm doing wrong?
"src": "='/_layouts/15/userphoto.aspx?size=S&accountname=' + [$Email]",
. Make sure you are using correct internal name of Email column.