web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Auto Fill Office 365 U...
Power Apps
Unanswered

Auto Fill Office 365 User email in text field

(0) ShareShare
ReportReport
Posted on by 185

Hi I have the following field below, is it possible to display names or email to select from when a user type in the text box?

 

knishal_0-1659971967025.png

For example if the user were to type someone else email in the text box, after typing the first letter it should show a list of email or name to select from. 

 

Any help will be appreciated.

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Why don't you use a combobox?

     

    https://powerusers.microsoft.com/t5/Power-Apps-Community-Blog/Creating-Office365-People-Picker/ba-p/1358602

     

    See if that helps you

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    Buy me a coffee!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • knishal Profile Picture
    185 on at

    Is it possible to do this without a combo box? @Nogueira1306 

  • DavidZoon Profile Picture
    738 Most Valuable Professional on at

    Hello,

     

    You have to replace your textinput by a combobox

    Then you have to set the source for this combobox, depending of your datasource :

    sharepoint : office365Users
    Dataverse : Users

    If this item is in a form, you'll have to change the .update of the datacard to : YourNewCombobox.Selected.Email

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily.

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    No because you want to present a choice list and text input is a free text.

     

    You can make your combobox searchable and that will help.

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    Buy me a coffee!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @knishal ,

     

    I've made a test for your reference:

     

    1\Add a textinput control(TextInput1)

    Default

    SelectedUser

    OnChange

    Set(GalleryVisible,true)

    OnSelect

    Set(GalleryVisible,true)

    2\Add a gallery

    Items

    Office365Users.SearchUser({searchTerm:TextInput1.Text})

    OnSelect

    Set(SelectedUser,ThisItem.Mail);Reset(TextInput1);Set(GalleryVisible,false)

    Visible

    GalleryVisible

    vbofengmsft_0-1660024428227.png

     

     

    vbofengmsft_1-1660024443678.png

     

    Best Regards,

    Bof

     

  • SaiVarmaraju Profile Picture
    14 on at

    In this how can i add an multiple users in that textinput field.

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard