Hi I'm trying to create a Directory of users linked to a List which contains all the users and their locations. I've created the List and the People column linked to the user in O365 and I can get it to show the user with the picture and all the fields or I can get it to show all users and user the search box.
The List is called People Locations, I've created a collection called colPeopleLocations so I can search against Name, Job Title or Location but I cannot get it to show the relevant users picture in the Gallery or in the search results.
AddColumns(
colPeopleLocations,
"UserPhoto",
If(
// check if the the user has an email and a profile picture
!IsBlank(FullName.Email)
And Office365Users.UserPhotoMetadata(FullName.Email).HasPhoto,
// get the profile picture
Office365Users.UserPhotoV2(FullName.Email)
))
Filter(
colPeopleLocations,
TextSearchBox1.Text in FullName_Text || TextSearchBox1.Text in JobTitle || TextSearchBox1.Text in Location,
)

Report
All responses (
Answers (