Hi All,
My colleague has a PowerApps app that she created using SharePoint Integration. The app created the original Form1 with the default SharePoint integration functions (OnEdit, OnSave, OnView, etc.), however the SharePoint list that the app is associated with requires another form (Form2) that will submit all the data entered on Form1 along with an attachment and comments entered on Form2. Because of this, Form2 has a separate button (from the SharePoint Integration "Save" button) that is supposed to update the list item that is selected. There is NOT a gallery in this app, we are only utilizing the SharePoint list as the "gallery". Here is the issue:
We are using a Patch function in the OnSelect property of the button on Form2 and it is creating a new item on the SharePoint list instead of updating the selected item. We are using the Defaults in the Patch function, which I have identified is the issue, however, without a gallery, we cannot figure out a function that will work to only update the selected item. We have tried to use "ThisItem" and LookUp, but both require that you have a gallery in your app to look the item up from. How can we get this to work?