Hi
I have a gallery linked to items in a sharepoint list. Each item in the gallery has a checkbox. When the checkbox is checked I would like to patch the item on the sharepoint list to have a status of "Made", then add that item to a collection (linked to another gallery for viewing). Then refresh the SP list data source so the ticked item is not visible. (It is filtered on Status = "Required"). Below is my code for OnCheck however it creates 2 entries in the collection? One of which I believe is all the fields from the SP list?
Patch(
'Unit Register',
Req_Items.Selected,
{Status: "Made"}
);
Collect(
AddProd,
Req_Items.Selected,
{
Date: I_PDate.SelectedDate,
Title: Contract,
Unit: Unit
}
);
Refresh('Unit Register')Any help much appreciated