Hello,
I have the image item set to "Office365Users.UserPhotoV2(Gallery5.Selected.email1)" and it shows the image of the O365 user.
What I'm trying is if there no image for the O365 user then show a different image. Can we do this in powerapps?
Any suggestions?
Thanks,
Omi
Solved! Go to Solution.
You can use the UserPhotoMetadata to determin if they have a photo and then act accordingly,
e.g.
If(Office365Users.UserPhotoMetadata(Gallery5.Selected.email1).HasPhoto, Office365Users.UserPhotoV2(Gallery5.Selected.email1), SampleImage)
You can use the UserPhotoMetadata to determin if they have a photo and then act accordingly,
e.g.
If(Office365Users.UserPhotoMetadata(Gallery5.Selected.email1).HasPhoto, Office365Users.UserPhotoV2(Gallery5.Selected.email1), SampleImage)
User | Count |
---|---|
157 | |
92 | |
80 | |
74 | |
57 |
User | Count |
---|---|
198 | |
166 | |
99 | |
95 | |
79 |