Hi Guys,
I intent to update multiple record in SharePoint List, based on the RequestNo matching the entered data in EditForm in Powerapps. Single record gets updated using the following query, but whatif, we have many RequestNo in SharePoint List??
1. Can we use Updateif or ForAll function but the data I am going to update is from a Form not Gallery!
2. Secondly, I also need to update/upload the same attachment, if there are multiple records, how can I include it in the ForAll loop or updateif loop?
To update a single record, following is the code, working perfectly:
Patch('POAs List',LookUp('POAs List',RequestNo = RequestNo_DataCard1.Default),
{
'POA No.': DataCardValue73.Text,
'Issuance Date':DateValue(IssuanceDt.Text,"fr"),
'Expiration Date':DateValue(DataCardKey76_1.Text,"fr"),
});
SubmitForm(Form4_1); /*For Attachment*/