Hello,
I cannot seem to figure out why this code deletes all the values in Parent Column . I need to just delete the dropdown selected by the user and retain its old values.
ClearCollect(
colAllPersons,
ForAll(
Gallery1.Selected.Parents,
{Parents: Dropdown6.SelectedText.Value}
));
Remove(
colAllPersons,
Filter(
colAllPersons,
Parents = Dropdown6.SelectedText.Value));
Patch(
TestAccessList,
LookUp(
TestAccessList,
'Test Project1'="Dev1"
),
{
Parents: ForAll(
colAllPersons,
{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: Dropdown6.SelectedText.Value,
Department: "",
DisplayName: "",
Email: Dropdown6.SelectedText.Value,
JobTitle: "",
Picture: ""
}
)
}
)
Here's the sharepoint im trying to update:
TestAccess

Report
All responses (
Answers (