I creating a form that is designed to save files into SharePoint using image attachment. I am using a collection to get the specific data of the file attached through a gallery. Also, there are some fields that are common for all the files attached. I wanted to combine these two types of data to be stored in SharePoint when the save button is hit. Can someone help me with this, please?
Following is the code I am using to combine both- but it throws some errors