cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NamegomJan
Helper II
Helper II

Adding a dynamic profile picture in a Gallery

Hi everyone,

 

I have a Gallery with a Sharepoint list as a source and want to show the profile picture of the user in that Gallery item that is mentioned in the list.

 

The formula: Office365User.UserPhoto("name.name@email.com") will show me a picture. But if I want to retrieve that email dynamically it wont work. This is the formula: Office365User.UserPhoto(Thisitem.Titel). In the field "Titel" the respective email is mentioned.

 

By the way I am using the german version so my formula is:

 

'Office365-Benutzer'.UserPhoto(ThisItem.Titel)

 

I have also a second field which is called "SendTo" where also a email address is mentioned. However this also does not work.

 

Thank you in advance.

10 REPLIES 10

Thank you. But my question is how to retrieve the Email from the Profile Name?

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,997)