Forum Discussion

cprothero's avatar
cprothero
Iron Contributor
Sep 20, 2018

Limiting Choices in a Person Field in PowerApps

I am trying to create a PowerApp that includes a Person field. I would like to limit the choice of people to a subset of all our users. When the person using the app chooses a user, I would like for it to show the person's name and picture.  So far in my attempts, I either get no suggestions as the user starts typing a name, or they see everyone in the O365.

So

1) What is the best way to define this subset? A SharePoint list with a person field? A SharePoint site security group?

2) How do I tie this subset to a combo box so that only these users are available for choosing.

 

Thanks.

 

 

  • The easiest way, if your PowerApp is using a SharePoint list, is to create a person field in the list then limit that view to just a SharePoint group.  You can then define your users in that group.  

     

     

     

    Hope this helps.

  • The easiest way, if your PowerApp is using a SharePoint list, is to create a person field in the list then limit that view to just a SharePoint group.  You can then define your users in that group.  

     

     

     

    Hope this helps.

    • cprothero's avatar
      cprothero
      Iron Contributor

      Can't believe I didn't think to try that. Thanks a bunch, it worked!

      • Deleted's avatar
        Deleted

        Fantastic.  Glad I could help!

         

Resources