Hi @Anonymous
Here is the setup
1. Gallery 1 to display SP List
2. Gallery 2 (Sub Gallery) to display Persons for that item
Set the Items property to Gallery 2 to
ThisItem.MultiplePeopleColumn
Insert Icon (X) and Label to display Name on the sub-gallery
Set Label Text property to
ThisItem.DisplayName
Set Icon OnSelect property to
Set(
personToRemove,
ThisItem.Email
);
ClearCollect(
colAllPersons,
ForAll(
Gallery1_1.Selected.MultiplePeople,
{PersonEmailId: Email}
)
);
Remove(
colAllPersons,
Filter(
colAllPersons,
PersonEmailId = personToRemove
)
);
Patch(
IssueTracker,
LookUp(
IssueTracker,
ID = Gallery1_1.Selected.ID
),
{
MultiplePeople: ForAll(
colAllPersons,
{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & PersonEmailId,
Department: "",
DisplayName: "",
Email: PersonEmailId,
JobTitle: "",
Picture: ""
}
)
}
)
Looks like
