powerappspowerapps-formulapowerapps-selected-items

Auto populate per user information from a SharePoint List


Is it possible to auto populate per user information from a SharePoint List?

I have a form with the following text input

Payroll Name
Job Title Description
Home Department Description
Location Description
Reports To Name
Work Contact: Work Email

Also have a SharePoint list with all the users information data with the column above.

Wanted to see if there is way to auto populate that user information once they open up the form.

Thank you in advance!


Solution

  • Yes, that should be possible.

    1. Make the connection to SharePoint list where the users info are stored.
    2. In the form you want to pre-populate information select a card e.g. Payroll Name
    3. Change the Default property of that card for something like

    First(Filter('User Info List', username = currentUser)).PayrollName

    You can get the current user details by using and store that OnVisible for that screen

    User().Email

    Set(currentUser,User().Email)