How can I remove an item from a collection and corresponding sharepoint list.
I have a trash can that patches a variable 'Del' to true. I would then like it not only to remove the item from the collection also the sharepoint list.
Click Trash Icon
Patch(projectcollection, ThisItem, {Del:true}) //works
Remove(projectcollection, ThisItem) //works
Remove('project list', ????) // confused at this part with the sharepoint list and referencing that item from the collection any help is appreciated!