Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Auto Populate fields based on Employee Name Selection

(0) ShareShare
ReportReport
Posted on by 291

Hello,

 

I'm looking to auto populate 5 fields based on Employee Name Selection.

I have Person field created in SharePoint, which is added to PowerApps form

 

There are multiple fields into the PowerApps form. Whereas I want to Auto populate below fields when an Employee Name is added.

Country

State

City

Pin Code

Emergency Contact No.

 

So once the user adds name in the Person field, above fields should get auto populate.

I'm assuming we'll have to create one more SharePoint list adding the above fields.

  • the_dude Profile Picture
    361 Super User 2024 Season 1 on at
    Re: Auto Populate fields based on Employee Name Selection

    I feel like we're still communicating passed each other.

     

    So you're saying you have a sharepoint list where you want to input the data (which will be populated automatically in the form)

    looking like this:

     

    Person nameCountryStateCityPincodeEmergency Cnt
          

     

    And so you select Person A -> Country/State/City/Pincode/Emergency fields get populated automatically because you are getting the data from another list which looks like this:

     

     

    Person nameCountryStateCityPincodeEmergency Cnt
    Person AINMHPU124566
    Person BAUGVME986433

     

    Which seems like an identical list but already filled out.. then what is the purpose of making the second list? this is why I feel like we're not understanding each other -> this can't be what you mean.

  • Prem4253 Profile Picture
    291 on at
    Re: Auto Populate fields based on Employee Name Selection

    @the_dude ,

     

    We should get the information from SharePoint list.

    Assuming we'll have to create a backend data to SharePoint of below fields;

    Country, State, City, Pincode, Emergency Contact

     

  • the_dude Profile Picture
    361 Super User 2024 Season 1 on at
    Re: Auto Populate fields based on Employee Name Selection

    Hi Prem,

     

    I understand the premise.

    However what I wanted to know is where do you plan on getting the information from.

     

    So when you select 'Person A' in your example. What resource can we query to get 'Country: IN, State: MH'  etc. ?

  • Prem4253 Profile Picture
    291 on at
    Re: Auto Populate fields based on Employee Name Selection

    Hi,

    If PERSON A name is selected

    Country - IN

    State - MH

    City - PU

    Pincode - 12

    Emergency Contact - 4566

     

    If PERSON B name is selected

    Country - AU

    State - GV

    City - ME

    Pincode - 98

    Emergency Contact - 6433

     

    SharePoint list is connected to the PowerApp form. Once the form is submitted store to SharePoint.

  • the_dude Profile Picture
    361 Super User 2024 Season 1 on at
    Re: Auto Populate fields based on Employee Name Selection

    Hi Prem,

     

    Could you elaborate. Where would you like to retrieve this data (Country, State, City, Pincode, Emergency Contact) from? 

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard