JP.jpg

Hi.

Welcome to SharePoint Simply. I am a non-technical SharePoint person just like you. Follow along while I learn things and help you do them.

PowerApps: How to make a simple people picker

Time to do this: 5 minutes

Normally when I’m using PowerApps, my main data source is a SharePoint list. Creating a people picker this way is easy: just add a person column to the list you’re using.

But what if I want to make a people picker control in PowerApps that isn’t tied to a SharePoint list? I can do this using the Office365Users data source. Here’s how it works:

  1. Add Office365Users as a data source

  2. Insert text input control

  3. Insert ListBox control

  4. In the ListBox control, click the rules tab and create a new rule with only the condition defined: !IsBlank(TextInput1.Text)

  5. Click done to save the rule

  6. In the ListBox Items formula bar, enter If(Rule1, Office365Users.SearchUser({searchTerm:TextInput1.Text}).DisplayName)

This will show user names as you type in the text input box. I personally didn’t want that ListBox control to display until I started typing in that box, so I also set the formula for the Visible value on the ListBox control to If(IsBlank(TextInput1.Text),true,false)

Tada. You now have a functional people picker in PowerApps that isn’t tied to a SharePoint list.

Microsoft Flow: Use a SharePoint calendar list in a workflow

PowerApps: How to add CSS to your text fields