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 |
---|---|
197 | |
124 | |
86 | |
49 | |
42 |
User | Count |
---|---|
284 | |
159 | |
138 | |
75 | |
72 |