Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Submit form not working on new form - dataverse

(1) ShareShare
ReportReport
Posted on by 158

Hello All!

 

I have an issue with my submit form button... so I have a gallery with dataverse table as a source and I want to add/update records. I have added a form to edit information from a gallery but also I want the same form to be able to add a new record to the gallery (so also a new record in my table). When I added a new form the update records option works fine. When I try to create a new one, it is displaying error: 

 

marcy_pi_0-1672919972149.png

I followed all intructions from this video:

https://www.youtube.com/watch?v=HHXKfB1iAH4 

 

Does anyone know please why it's showing an error? Is it different on dataverse? 

 

Thanks in advance!

Categories:
  • MP-13011217-0 Profile Picture
    158 on at
    Re: Submit form not working on new form - dataverse

    Hello, sure and thank You for Your interest.

     

    I have a contractors list in my gallery and next to it there is a form1_1 as shown below. 

     

    'Submit' button -> OnSelect -> SubmitForm(Form1_1)

     

    'New Contractor' button -> OnSelect -> ResetForm(Form1_1);NewForm(Form1_1);

     

    When clicking on record in gallery, the form1_1 changes to all info about the record and when I make changes to a record I click Submit button - this works fine and I can see changes to a record straight away in my gallery. When I click on 'New contractor' I can see a blank form and if I fill it in I get the error mentioned before.

     

     

     

    marcy_pi_1-1672923972807.png

     

     

  • BideyYusuf Profile Picture
    387 on at
    Re: Submit form not working on new form - dataverse

    Hello @marcy_pi ... This error comes up sometimes, and it usually comes when you have a complex or people column you intend to update or save using patch functions.

     

    Can you elaborate a little bit on what exactly you want to save, and if you are using a normal submit function or patch function.

     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 110 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 77

#3
stampcoin Profile Picture

stampcoin 52

Overall leaderboard