I have a problem I hope this community can help me resolve, it is around creating a collection, to then patch that collection to a new record(s) in another SharePoint list.
To explain my use case. I built an App for our Standards and Compliance team to record audits and associated audit actions, part of the process is to select the relevant standards/clauses (ISO e.g. ISO27001 etc.) that was performed against a particular audit. I have created a way to do this, by opening up a new form and selecting the relevant standard/clause, which is fine if only one is selected, but in most cases there could be more than 5 clauses selected, the S&C auditors have asked if it is possible to select more than one at a time to reduce the time taken to select the relevant clauses for each standard.
What I am struggling to do is to patch the selected items to create new record(s) to the relevant SharePoint list (SelectedStandard). I am aware I need to create a collection from the bottom gallery (see attached PDF with all details and explanations) to be able to patch.
In the attached PDF, Page 1 shows my proposed screen mock up (once I've resolved the collection/patch issue, I will hide the bottom gallery from the users view), Page 2 shows the top gallery with a couple of items selected, Page 3 shows the bottom gallery of the two selected items in the top gallery along with the label names and their 'text' values, Page 4 shows the current screen which shows how it looks in the audit details screen (Audit scope tab), Page 5 shows the two SharePoint lists and how their relationship is linked, and Page 6 shows the lookup list 'Standards'.
I have looked at quite a few YouTube tutorials, but not been able to find one that matches my use case.
Thank you in advance for your consideration and help.
Derek