cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Filter/Search

hi: @All

I have a list of employees in SharePoint, I need the email of the employee, when in a drop-down list
have as the value the name of the employee.

1 REPLY 1
Microsoft
Microsoft

Hello romy,

 

You should be able to do this by binding a ComboBox control to the Office365Users connector. Example: ComboBox1.Items = Office365Users.SearchUser({searchTerm:"john"}) where "john" is a search string (which can be bound to an output of a text control for example). You can then set the PrimaryText for the Combobox to "DisplayName". Now, you can display selected user's email in a label control as following: Label1.Text = ComboBox1.Selected.Mail

Hope this helps.

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (68,656)