web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Network Error After Pa...
Power Apps
Answered

Network Error After Patch Function with Submit Form

(0) ShareShare
ReportReport
Posted on by 395

I get the Network Error after the Patch function

Screenshot 2024-05-01 091338.png

Here is the full code.

 

Patch(
 'CAR Forms',
 Defaults('CAR Forms'),
 {
 'CAR Number': CARNumberDataCardValue.Value,
 'Considered Supplier Attachment Name 1:': ConSupplier1DataCardValue.Value,
 'Considered Supplier Attachment Name 2:': ConSupplier2DataCardValue.Value,
 'Considered Supplier Attachment Name 3:': ConSupplier3DataCardValue.Value,
 Status: StatusValue.Value,
 'Anticipated Vendor or Supplier': DataCardValue31.Value,
 'Anticipated SAP Vender #:': 'AnticipateSAPVender#DataCardValue'.Value,
 //****Reviews****
 'IT Review By': ITReviewByTextInput.Value,
 'Legal Review By': LegalReviewByTextInput.Value,
 'Financial Reviewed By': FinanicalReviewByTextInput.Value,
 //***Approval OF Bid Waivers****
 AOBW_President_Approver: PresidentApprovalOfBidWaiverInput.Value,
 AOBW_CFO_Approver: CFOApprovalOfBidWaiversTextInput.Value,
 //****Competitive Bid Waiver****
 'Vender(s):': VendorDataCardValue.Value,
 Amount: AmountDataCardValue.Value,
 'Source Justification': SourceJustificationDropdown.Selected,
 'Price Justification': PriceJustificationDropdown.Selected,
 //****Bryce Company Approvals****
 //'BryceComp_SVPReviewer1': BryceComp_SVPReviewer1.Value,
 //'BryceComp_SVPReviewer2': BryceComp_SVPReviewer2.Value,
 //'BryceComp_SVPReviewer3': BryceComp_SVPReviewer3.Value,
 //'BryceComp_SVPReviewer4': BryceComp_SVPReviewer4.Value,
 //'BryceComp_VPReviewer1': BryceComp_VPReviewer1.Value,
 //'BryceComp_VPReviewer2': BryceComp_VPReviewer2.Value,
 //'BryceComp_VPReviewer3': BryceComp_VPReviewer3.Value,
 //'BryceComp_VPReviewer4': BryceComp_VPReviewer4.Value,
 //'BryceComp_PresReviewer': BryceComp_PresReviewer.Value,
 //'BryceComp_CEOReviewer': BryceComp_CEOReviewer.Value,
 //****Other****
 //'PurchasingReviewer': PurchasingReview_ReviewerTextInput.Value,
 //'AssetMangementReviewer': AssetManagement_ReviewerTextInput.Value,
 //'CIP/AssetNum': CIPAssetTextInput.Value,
 //'SAPReqNum': SAPReqNeededTextInput.Value,
 //****Add Not Updating Fields****
 'Project Details': ProjectDetailsDataCardValue.Value,
 'Plant': PlantDropdownValue.SelectedText,
 'Purpose': PurposeCardValue.Value,
 'Company': CompanyDataCardValue.SelectedText
 }
);
SubmitForm('CAR Form');
//ResetForm('CAR Form');
Launch("https://bryceonline.sharepoint.com/Lists/CAR%20Forms/AllItems.aspx")

 

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @lbolin ,

     

    It seems the Patch and SubmitForm functions are updating the same data source, which will cause a conflict. It's not necessary to submit the form again after the new item is created by Patch function. So, please remove SubmitForm('CAR Form'); from the codes.

     

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard