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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

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

Users online (1,457)