
ForAll(
colExistingParticipant as ExistingParticipant,
If(
Not(ExistingParticipant.Participant.DisplayName in ForAll(ReviewParticipants_Edit.SelectedItems, DisplayName)),
RemoveIf(
AttachmentParticipants,
cID = ExistingParticipant.cID && (LOGIC HERE?)
{
*how do I remove a single person in a column type???*
}
)
)
)
ClearCollect(
colSelectedUsers,
ForAll(
ComboBoxUsers.SelectedItems,
{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & Lower(Email),
DisplayName: DisplayName,
Email: Email
}
)
);
Patch(
'YourSharePointList',
Lookup('YourSharePointList', ID = locCurrentRecord.ID),
{
MultiSelectPersonField: colSelectedUsers
}
);