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

Office 365 Users search - data give back to another fields

Hi,

 

Sorry for opening a new topic, but tried to search without success, or what i found it is not working.

I have a powerapps where i use Office365Users.Search with more boxes.

I have a combobox3 where i use this fx:

If(Rule6, Office365Users.SearchUser({searchTerm : ComboBox3.SearchText}))

SelectMultiple disabled, and give back DispayName also the search is based on DisplayName.

I have 2 more Drop down boxes which should give back the selected user e-mail address and department name.

This is what i use: Office365Users.SearchUser({searchTerm : ComboBox3.SearchText})

But the problem that this not give back the selected user's information, tried many version, but always get a red X and none of them working.

Can you please help which would be the proper one?

Also one more question: is is possible also to see in the search field in the same time the dispay name and the e-mail addres? 

 

Thank you in advance

1 ACCEPTED SOLUTION

Accepted Solutions

Hi V-micsh,

 

Thanks replying, after a while i figured out the solution, just forgot to post (or close it, not sure how can i do that):

If(Rule6,Office365Users.SearchUser({searchTerm : ComboBox3.Selected.MailNickname}))

This is what i put into the e-mail and department drop-down fields and selected which value should be visible and that is working so far 🙂

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Hi @Janaboy,

 

Could you please explain a bit for the Dropdown here?

If here only the Selected user information need to be shown, we could just take use of Label control to show the information about the selected user.

For example, Label Email  & Label Department,

Label Email Text property set to:

ComboBox1.Selected.Mail

Label Department Text property set to:

ComboBox1.Selected.Department

For your other question, "is possible also to see in the search field in the same time the dispay name and the e-mail addres?"

No, currently it is not possible.

The combobox control is possible to show the items with two fields, for the Search fields, it is only available for single field.

For how to change the showing fields, try:

ConboBox1 ->Properties ->Fields  Edit-> Layout -> Change Layout, 

144.PNG

 

 

Best regards,

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi V-micsh,

 

Thanks replying, after a while i figured out the solution, just forgot to post (or close it, not sure how can i do that):

If(Rule6,Office365Users.SearchUser({searchTerm : ComboBox3.Selected.MailNickname}))

This is what i put into the e-mail and department drop-down fields and selected which value should be visible and that is working so far 🙂

View solution in original post

Highlighted

Hi @Janaboy,

 

Thanks for your update. As your issue has been resolved, I accept your response as the solution to close this thread.

 

If you have any further questions, please feel free to post back.

 

Best regards,

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,818)