Hi community!
I haven't been able to find an answer to this and I have looked, apologies if it is out there.
We have a sharepoint list that is being used for an events booking app with a person field for 'Attendees'.
Desired functionality: When Users click a button, it adds their name to the Attendees field, in addition to any names that are already there.
What is happening when using this Patch code below is that it is over-writing what is there, I need it to append...any ideas?
Patch(Training, Gallery1.Selected, {Attendees:
Table({
'@odata.type': "#Microsoft​.Azure.Connectors.SharePoint.SPListExpandedUser",
Department: "",
Claims: "i:0#.f|membership|" & User().Email,
DisplayName: User().FullName,
Email: User().Email,
JobTitle: "",
Picture: ""
})
}
);