cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Christior
Level: Powered On

People Picker to DisplayName from a Sharepoint List

Hi,

 

I'm trying to display a list of names from a sharepoint list people picker field in a Dropdown Box and filter the associated gallery accordingly.

 

Below is what I'm currently trying but the dropdown is not displaying any results: 

 

Capture.PNG

 

Capture 2.PNG

 

I've tried various formulae in the dropdownbox for example:

 

Choices(Issues.Test_x0020_Person, DisplayName)

 

to no avail.

 

Any help in displaying all DisplayNames in the dropdown box would be greatly appreciated.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Christior
Level: Powered On

Re: People Picker to DisplayName from a Sharepoint List

Thank you @v-monli-msft for your reply, but that's not quite what I'm after.

 

It was a basic syntax error for the dropdown box.  Changing the Dropdown Box People Picker to:

 

Distinct(Issues, Test_x0020_Person.DisplayName)

fixed the issue.

 

Thank you for the reply though.

View solution in original post

2 REPLIES 2
Highlighted
Community Support Team
Community Support Team

Re: People Picker to DisplayName from a Sharepoint List

Hi @Christior,

 

Notice that gallery control only display the items not editing them, so you actually do not need a dropdown control in this gallery to make the person and group field shows for each item. You just need to add a Label control, and set its Text property to:

ThisItem.ColumnName.DisplayName

捕获.JPG

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Christior
Level: Powered On

Re: People Picker to DisplayName from a Sharepoint List

Thank you @v-monli-msft for your reply, but that's not quite what I'm after.

 

It was a basic syntax error for the dropdown box.  Changing the Dropdown Box People Picker to:

 

Distinct(Issues, Test_x0020_Person.DisplayName)

fixed the issue.

 

Thank you for the reply though.

View solution in original post

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,866)