cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Super User
Super User

If i want to get the Display Name for a People or Group SharePoint field which allow Single selection, should i use "Selected" OR "SelectedItems"

I have this SharePoint field of type People or Group which allow single selection:-

 

spurc3.png

 

 

here is the field inside PowerAppp:-

spurce2.png

 

Now inside my Success screen i want to display the DisplayName for the People or Group field, so seems there are 2 ways to start, either using the DataCardValue6.Selected or the DataCardValue6.SelectedItems.. so which approach i should use?

 

S2.png

 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
BCLS776
Super User
Super User

When you have "allow multiple selections" set to "no", use Selected

 

Hope that helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
BCLS776
Super User
Super User

When you have "allow multiple selections" set to "no", use Selected

 

Hope that helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.
johnjohn123
Super User
Super User

@BCLS776thanks worked well for me.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,431)