Announcements
Hi
I'm using the above formula to show photo from users. But when user leave my company , the apps shows error. Is that possible to workaround this error?
Thank you
If Not(IsBlank(ThisItem.Pessoa1));If(UsuáriosdoOffice365.UserPhotoMetadata(ThisItem.Pessoa1).HasPhoto = false;'default-profile';UsuáriosdoOffice365.UserPhoto(ThisItem.Pessoa1)))
What is the error?
You can wrap it with an IfError or IsError function, to better handle the error.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-iferror
If it's a case of an image, you can also layer the default image behind the image for the user. This way, it also shows a default image until the user's image has been retrieved.
Tank you, doing these way!!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 432 Super User 2026 Season 2
Mohsin Ali 347
WarrenBelz 254 Most Valuable Professional