Hi there, I need to send profile picture of Manager in the email. I have Html text with a table and list of fields. Is it possible to get the profile picture of the manager to the email content (like a thumbnail in the body of the email and NOT as an attachment)
Any help is highly appreciated!
Authorising Manager Email : " &"" & UpdateRequestDropdown.Selected.'Authorising Manager'.Email &"" & "
" & "
Authorising Manager Title : " &"" & UpdateRequestDropdown.Selected.'Authorising Manager'.JobTitle &"" & "
" & "
Authorising Manager Division : " &"" & UpdateRequestDropdown.Selected.'Authorising Manager'.Department &"" & "
" & "
Authorising Manager Image : " &"" & UpdateRequestDropdown.Selected.'Authorising Manager'.Picture &"" & "
" & "
Authorising Manager Image : " &"" & Office365Users.UserPhotoV2( UpdateRequestDropdown.Selected.'Authorising Manager'.Email) &"" & "
The above code send the link for the image as below in the email:
Authorising Manager information:
Authorising Manager Name : XXXX XXXXX
Authorising Manager Email :XXXXX@t.com
Authorising Manager Title : Manager
Authorising Manager Division : Product Planning & Development
Authorising Manager Image : https://xxxxx/_layouts/15/UserPhoto.aspx?Size=L&AccountName=xxx.com
Authorising Manager Image : appres://blobmanager/d5be6112350a46f48d1724eddbb763f6/8
Authorising Manager Phone : +00000
Authorising Manager Pic : appres://blobmanager/d5be6112350a46f48d1724eddbb763f6/9
Solved! Go to Solution.
That's a really good workaround and thanks for let me know that everything works from your side!
and maybe you don't need the image field, have you tried this?
"<img src=" &JSON( Office365Users.UserPhotoV2(UpdateRequestDropdown.Selected.'Authorising Manager'.Email).Image,IncludeBinaryData)&"width='50'"&"height='50'"& ">"
hmm... that's right, you are using it in a text or html text, right? I created my code in the 'onselect' of a button (a behaviour property) and the conversion to a json works there
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.
We are excited to announce a new way to share your ideas for Power Apps!