Hello Community,
I have defined a person column in the SharePoint, I have used the Combo to pull the names from Microsoft365 employee names
when I search with employee name Jon hernandez, the Combo box is showing 2 suggestions for Jon Hernandez(Their emails are like Jon.her@xyz.com,Jon.her-1@xyz.com ) when I click on save it is throwing the below error.
Error
Network error when using Patch function: The requested operation is invalid.
when I use a different name if the combo box give a single suggested name it is saving perfectly.
This is my Patch Function:
Can someone please help with this.
Thanks in advance.
Hi @Harika_1 ,
Maybe you can also try below:
Patch(
'TC-MasterFile',
ForAll(
Gallery2.AllItems,
{
EmployeeName: {
Claims: "i:0#.f|membership|" & EmployeeNameCard.Selected.Mail,
Department: "",
DisplayName: "",
Email: EmployeeNameCard.Selected.Mail,
JobTitle: "",
Picture: ""
},
}
)
)
Best regards,
Hi @Harika_1 ,
If the person column in SP list doesn't allow multiple selections, the Combo box in your App should not allow either.
Best regards,
WarrenBelz
146,594
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional