
Hi All,
I'm facing issue on powerapps submitform, when user trying to upload attachment and submit form, sometimes the attachment is saved into sharepoint list, sometimes it is not (but other fields is saved).
I'm not sure what is the problem causing this intermittent issue.
Button OnSelect : SubmitForm(Form1_3)
Form OnSuccess : Patch('[App]PurchaseRequisition', First( Filter('[App]PurchaseRequisition', RefNo=Gallery3_2.Selected.RefNo )), { Status: "Purchaser Uploaded PO" } );Refresh('[App]PurchaseRequisition');ResetForm(Form1_3);Navigate(scn_AttachPOList,ScreenTransition.Cover)
Hi @domingsun1 ,
I assume you are saving the other data to the same record you just submitted with the attachment
Patch(
'[App]PurchaseRequisition',
{ID: Self.LastSubmit.ID},
{Status: "Purchaser Uploaded PO"}
);
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps