Edit gallery record with lookup values from another list
I have a gallery, source is a timelist, and I would like to edit an item in the gallery. On select of the Edit icon in the gallery, I have a popup edit record.
The item that I want to update, has the information in another SharePoint list, WLEmployee.
I thought I would create a collection to grab that one item from the employee list that matches the variable (item being edited). This works and I have all the employee relevant information....But unclear how to patch the record with the two fields I want to edit with the collection?