I have a collection whose schema is directly linked with my SharePoint list.
ClearCollect(
colMPPDock,
ShowColumns(
'MPP Dock Dev',
"Bay",
"ForkTruckType",
"MaterialType",
"ID",
"TruckStatus",
"Author"
)
);
The collection is connected to gallery and after all the updates on the gallery am successfully able to save to list using
Patch(
'MPP Dock Dev',
colMPPDock
);
Now the problem is when I get those items again in my gallery and modify them again, I would like to submit them as new items not as modified items. When ID column doesn't have a value in my collection, it is submitting as new item and when it has some value it is modifying existing item. I tried UpdateIf to update the ID to blank and also tried DropColumns on ID. Both didn't work. How can I submit modified items in collection as new items to SharePoint list. Hope my explanation is clear, otherwise happy to clarify.
Thanks and Regards,
Ramesh Mukka