Hi All,
I am trying to add multiple people picker value from PowerApps form but not able to add in the SharePoint list.
I have change the column setting from SPList like allow multiple items.
Also changed the PowerApps people picket control setting to Allow multiple items and I am using Patch function but facing issues in the below code.
In this code I have added ForAll for iterate all items from People picker dropdown.
Auditor- My SP list column
Forms Answers - SP list Name
currentItem - Updating current item
ppMBHeaderAuditee- PowerApps people picker
Error - The type of this argument 'Auditor' does not match the expected type 'Table'. Found type 'Record'
"ForAll(ppMBHeaderAuditee.SelectedItems,
Patch(
'Forms Answers',
currentItem,
{
Auditor:{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: ppMBHeaderAuditee.Selected.Claims,
Department: "",
DisplayName: ppMBHeaderAuditee.Selected.DisplayName,
Email: ppMBHeaderAuditee.Selected.Email,
JobTitle: ppMBHeaderAuditee.NavigateItem.JobTitle,
Picture: ""
}
}
)
);"
Please help me on this issue, waiting for valuable reply.
Thanks
Amol K
WarrenBelz
81
Most Valuable Professional
mmbr1606
53
Super User 2025 Season 1
stampcoin
48