Hi Everyone!
Im currently developing a Powerapp using the "OfficeUser365" connector.
I want to hide all the gallery records/rows which do not have a "UserPhoto" attatched to their 365 account.
I assume it might have something to do with the "UserPhotoMetaData" function but i have no idea on how to use it
Thankyou!!
Solved! Go to Solution.
Hi @DJB22,
You probably need to filter the gallery with users that has O365 photos.
Are you using a text input to populate the gallery by using search? If yes, try this code:
TextInput1 = name if the Text Input
*Add this to your Gallery Items Property*
Filter(Office365Users.SearchUser({searchTerm:TextInput1.Text}),Office365Users.UserPhotoMetadata(Id).HasPhoto = true)
Please let me know if you need help.
Cheers
Hi @DJB22,
You probably need to filter the gallery with users that has O365 photos.
Are you using a text input to populate the gallery by using search? If yes, try this code:
TextInput1 = name if the Text Input
*Add this to your Gallery Items Property*
Filter(Office365Users.SearchUser({searchTerm:TextInput1.Text}),Office365Users.UserPhotoMetadata(Id).HasPhoto = true)
Please let me know if you need help.
Cheers
YOUR A BEAST MATE!!!!
It worked a charm :))))))))))))
Thankyou!!!