Unfortunately @LeSmanSP creating that drop down menu did not work for me... I'm still getting the error "Office365Users.UserProfile failed: The method 'UserProfile' has an invalid value for parameter 'userId'" whenever the app is started 😞
I created the drop down menu on the initial employee directory search page and set the visibility to False.
Any other suggestions?
Ok, hope this helps anyone else who is going crazy trying to get this working.
I created a drop down menu as described below, but as my text I put: First(Office365Users.UserProfile(First(EmployeeProfile).UserPrincipalName).BusinessPhones)
This loaded the array at initialisation and I'm no longer getting the error at application start.
The information is stored in the BusinessPhones collection.
So you can set the "Text* property to the following formula: If(IsBlank(First(First(EmployeeProfile).BusinessPhones).Value),"-",First(First(EmployeeProfile).BusinessPhones).Value)
and the OnSelect action should be:
Will this formula only work for the user whose email is in place of "firstname.lastname@example.org"? If so, what should I put in place of that example email in order for the business phone number to show up for each user that accesses the app?
This will be a conference that you do not want to miss!
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
Check out the winners of the recent 'Can You Solve These?' community challenge!
Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.
Featuring samples like Return to the Workplace and Emergency Response Applications
Features releasing from October 2020 through March 2021