cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
bdc604 Advocate III
Advocate III

Cannot use person fields in collections?

Trying to create a collection with names from SharePoint person fields, not having any luck. This should be relatively simple shouldn't it?

 

Collect(ColPpl, Reviewer_DataCard1.Default))

or
Collect(ColPpl, Value(Reviewer_DataCard1.DisplayName))

or

?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Cannot use person fields in collections?

Hi @bdc604,

 

 

As the Person or group column type in SharePoint list is considered as a lookup field, so it does not work like other fields like text/number. Please refer to below threads to see if they could help:

https://powerusers.microsoft.com/t5/General-Discussion/Saving-data-from-powerapps-to-SP-lists-person...

https://wonderlaura.com/2017/08/16/powerapps-set-sharepoint-lookup-field/

 

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.

View solution in original post

2 REPLIES 2
bdc604 Advocate III
Advocate III

Re: Cannot use person fields in collections?

Collect(ColPpl, {myname: Value(Reviewer_DataCard1.DisplayName)})

Variables, ok. Label and textbox text, ok. Collections, no?

Community Support
Community Support

Re: Cannot use person fields in collections?

Hi @bdc604,

 

 

As the Person or group column type in SharePoint list is considered as a lookup field, so it does not work like other fields like text/number. Please refer to below threads to see if they could help:

https://powerusers.microsoft.com/t5/General-Discussion/Saving-data-from-powerapps-to-SP-lists-person...

https://wonderlaura.com/2017/08/16/powerapps-set-sharepoint-lookup-field/

 

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.

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (6,183)