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 on New F...
Power Apps
Unanswered

Network Error on New Form Submission

(0) ShareShare
ReportReport
Posted on by 5,345 Moderator

I have new form (Form1)

I created an email notification formula in the 'Submit' button.

I added the item 'ID' card in Form1, for reference in a variable for the deep link.

I am getting a 'Network error when using Patch function: The specified column is generated by the server and can't be specified.' when I click the 'Submit' button.

Obviously, the Submit is trying to overwrite the list 'ID' with the 'ID' from the App, not what I intended.

How do I correct this?

How do I acquire the Item 'ID' for a new item, created using a Form, that hasn't been or is in the process of being added to the SharePoint list. 

Form1 (Item): LookUp('Competitor External Meeting Request Tracker',ID = varMeetingID)

App OnStart: Set(varMeetingID, Value(Param("MeetingID")));
                      If(!IsBlank( Param("MeetingID)), Set(varMeeting, Value(Param("MeetingID")));

Categories:
  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    @Phineas ,

    Please see if we can make this an easy one.

    To answer your second question, if you run your email code OnSuccess of the Form, you can use Self.Lastsubmit.ID as the reference to the ID of the record just created. You did not post the code you were getting the error from, so I cannot comment presently.

    You also have set 2 variables to the same value (varMeetingID and varMeeting) OnStart, but that is probably not relevant here- you are using the first one on your Form.

     

    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

     

  • Liquid error: Exception has been thrown by the target of an invocation. developerAJ Profile Picture
    4,763 on at

    if i understand correctly you tried adding ID datacard and passing value to it.

     

    Remove ID datacard and Submitform on button click.

     

    Onsuccess of form use the formula @WarrenBelz suggested Self.Lastsubmit.ID ; Self.LastSubmit will contain all values for last submission.

     

    but if you want to use query parameters (param()) and do screen transition i suggest creating a single line of text column and passing Guid() on submission of form to it. It does the same but with ID i can try 4 if it does not work user can try 5. if you want to have security guid are right option because user won't know guid of any list item unless you give them.

     

     

  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    @developerAJ ,

    This is SharePoint - the ID is the relevant identifier here and I am trying to keep this simple.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard