Sep 20 2018 08:19 AM
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.
Sep 20 2018 03:39 PM
SolutionThe 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.
Sep 21 2018 08:06 AM
Can't believe I didn't think to try that. Thanks a bunch, it worked!
Sep 21 2018 08:40 AM
Fantastic. Glad I could help!
Oct 28 2018 04:23 PM
Hi Timothy,
I created a column as a person and set that to choose users from a "sharepoint group". However in powerAPPS, I don't see it under drop down and the only way is that I need to search for those users.
My question is that, can we restrict users to 3-4 users in a drop down way? My client don't want the column to be as a search function, rather they want people picker as a drop down and with limited number of users only. So that they can pick users out of those 4 members.
I tried several ways but there is no luck as of now. Your solution works to restrict users but not in a drop down way(like choice column). Any suggestions please?
Oct 28 2018 05:02 PM
Oct 28 2018 07:06 PM
Thanks for your suggestion Alan. I am new to PowerApps and Flow and it's bit tricky for me to understand this logic. Is it possible for you to share steps in detail? Sorry for asking this.
Sep 20 2018 03:39 PM
SolutionThe 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.