Hello,
I have created a gallery with a checkbox for each items in the gallery list.
The idea is that the checkbox is used to select the items (it can be multiple!).
Once selected there will be a button to duplicate the selected items. Also, I am using dataverse as my datasource.
Below is a snippet of my code,
ClearCollect(RecordsToCopy, DropColumns(BudgetMonthRecord.'Forecast Items',"_ownerid_value","createdby","modifiedby"));
Clear(NewRecords);
// collect new records into collections
Collect(NewRecords, RecordsToCopy);
Patch('Forecast Items', NewRecords);
Concurrent(
Clear(NewRecords),
);
I wanted to create a collection for only the selected item. Would appreciate the help for this!
Thanks.
- Mia