cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Patch person column

Hello there,

 

I have my SharePoint list, with Text, choice, and person or group column. 

I was able to create new records using the patch function in my Canvas App, but when I create the combo box and select the person that I want to add, it saved all, but the person or group column still empty. 

My SharePoint List: 

image.png

My powerapp and patch function:

image.png

 

Is there a way to be able to save the Felipe Wilches in my Powner (person or group type) on my SharePoint list? 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @Anonymous ,

 

What is the Items property of the combo box control that you use for the person and group field? By default, for a multiple-select enabled person and group field, the Items property of the combo box control inside the edit form should be:

Choices([@ListName].MultiPerson)

Replace ListName with your SharePoint list name and MultiPerson with your person and group column name.

 

Then in Patch formula, for this column, the syntax should be:

.......MultiPerson:ComboBox1.SelectedItems......

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

1 REPLY 1
v-monli-msft
Community Support
Community Support

Hi @Anonymous ,

 

What is the Items property of the combo box control that you use for the person and group field? By default, for a multiple-select enabled person and group field, the Items property of the combo box control inside the edit form should be:

Choices([@ListName].MultiPerson)

Replace ListName with your SharePoint list name and MultiPerson with your person and group column name.

 

Then in Patch formula, for this column, the syntax should be:

.......MultiPerson:ComboBox1.SelectedItems......

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.

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (2,066)