cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
davismarist1198
Regular Visitor

Assigning specific pictures to a gallery in power apps using excel data

Hi,

I am currently working with excel data as my main data feed to my gallery. I am currently trying to upload all of my team's pictures to the gallery. I have seen this done before, is there an easy way to do this? My current thought process is to download each of the team's pictures, is there a way to bulk upload them then? How would I assign them to the excel data set?

 

Please let me know the easiest way to go about uploading a static excel data set and how I can link my teams picutres to that data set.

 

Thank you

3 REPLIES 3
AaronKGumbs
Advocate I
Advocate I

You would want to use the Office 365 Users Connector to avoid any technical maintenance as soon as an existing employee leaves or a new employee starts. You can get the User's photo by using the following code where you can use the person's email address in placement of "id" if you have that available in your Excel spreadsheet:

 

Office365Users.UserPhotoV2("id")

  

Hi I have tried the above yet, I get a error saying that UserPhotoV2 is a unknown or unsupported function in namespace 'Office365Users', I am attaching a picture of the formula. Should this be under the Image? What could be the cause of the issue

AaronKGumbs
Advocate I
Advocate I

Just one more step to go, apologies, I had made an assumption about your data connections within the Canvas App. Head over to the database icon on the left hand side and click Add Data. From here, search for Office as a data source and you'll see the Office 365 Users Connector appear. Once this is in your app, this formula will work.

AaronKGumbs_0-1664306670269.png

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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