Hey All,
I have a Screen that has a form Control in Tab 1 & An Excel-like grid View in Tab 2.
I have two Sharepoint lists - List 1 & List 2, I am saving data to List 1 using form control from Tab 1
And using Collection & then Patching the data to List 2 from Tab 2.
I am making the Relation Between these 2 lists using the Master ID., It seems Pretty and working perfectly.
Now
I am creating an Amend Request, which means creating a New Request from Existing Request.
So when the user clicks on the button he can see all the data of the existing ID, & he made some changes & once he finally saves it, it creates a new ID in List
so what I did is, I made the column ID as Blank for Form Control, & once the user clicks on Submit form button, Power apps it self save it with a new ID.
till here everything works fine,
Now Here the Problem Comes :
But, when I click on the button to patch the data of the second list it Says Error, -"Network error when using Patch Fnction, Field ID is Required".
I have Collection which has Data from List 2, which means it has an ID column also, which Value of Last Saved ID, I tried making the ID column is Blank in Collection & then Patching, so the Power app can generate a new one by itself, but still, it gives error.
Please Help.