Hello family,
I have created an application with profile pictures and here is the formula :
If(IsBlank('Utilisateursd’Office365'.UserPhoto('Utilisateursd’Office365'.UserProfile(ThisItem.User).Id));
SampleImage;
'Utilisateursd’Office365'.UserPhoto('Utilisateursd’Office365'.UserProfile(ThisItem.User).Id))
when I share the application and when I navigate in the application I always get the following warning message :
how to solve this please
Solved! Go to Solution.
Awesome, glad to hear it!
Hi @JimmyWork Could your please help me on this? i am getting similar error however in my i am picking Emp email id and user will also their email trainer ID. it will enter by different users and then i am looking to auto appear their name and mentor name.
@aayaanmayank Can you post your entire line of code.
You can always suppress any error with IfError, I have not used the IsBlankOrError but it should be similar.
I have used below two function but the warning msg still pops up.
If(!IsBlankOrError(Office365Users.UserProfile(DataCardValue36.Text).DisplayName),(Office365Users.UserProfile(DataCardValue36.Text).DisplayName))
If(!IsBlank(DataCardValue36.Text),If(!IsBlankOrError(Office365Users.UserProfile(DataCardValue36.Text).DisplayName),(Office365Users.UserProfile(DataCardValue36.Text).DisplayName)))
@aayaanmayank Currently I'm unable to do any tests at the moment but to me it seems that you are always going to get an error as you are requesting information on a user that does not exists and if it's blank or error then you request it again.
The suppressing part of the error or having your own custom error comes after the request, so if you do not want to display an error messages you use "" or you could use Notify("My personal error message")
Try one liners to build it first, I would have tested this but I'm not able to do it at the moment.
Example: IfError(Office365Users.UserProfile(DataCardValue36.Text).DisplayName, "")
Example: If(!IsBlankOrError(Office365Users.UserProfile(DataCardValue36.Text).DisplayName, "")