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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Stop "Save" button fro...
Power Apps
Unanswered

Stop "Save" button from resetting and hiding Sharepoint List PowerApps form

(0) ShareShare
ReportReport
Posted on by 7

Hello! I have a PowerApps form that is so close to being done... I have my own "Save" button on the using submitform(). However, in use, whenever you hit save, it closed the form out. I removed the ResetForm(); RequestHide() from OnSuccess SharepointForm1 and that does keep the form open, however when you hit save, the form fields are repopulated with data from another submission. I have tried changing the item properties to "If(IsBlank(SharePointIntegration.Selected),SharePointForm1.LastSubmit,SharePointIntegration.Selected)" but that did not seem to do it. 

 

I have tried a whole slew of other things as well and nothing seems to do the trick. I am hoping someone from this community can at least point me in the right direction or if anyone has done this before and knows what I need to do, that would be awesome.

 

Please let me know if there is any other information you may need from me!

Categories:
I have the same question (0)
  • mpistil Profile Picture
    on at

    Hi @ENatheAD ,

     

    When you click Save (with the SubmitForm function for OnSelect), is it your goal to write the data back to SharePoint and then have a fresh new input form appear in your app?

     

    If so, try:

    Button OnSelect: SubmitForm(FormNameHere)

    Form OnSuccess: NewForm(FormNameHere); Reset(FormNameHere)

     

     

    *If this resolves your question, please give this response a thumbs up and accept my solution as it will help others when troubleshooting.*

  • ENatheAD Profile Picture
    7 on at

    Hello @mpistil! Thank you for the quick reply. 

     

    So actually what we need to happen when someone clicks "Save" (with the SubmitForm function for OnSelect) is for it to write the data back to SharePoint, which it is, and to keep the same form open, so they can continue to modify it.  Does that make sense?

  • mpistil Profile Picture
    on at

    @ENatheAD ,

     

    I'm not sure how your overall app functions, but it might be easier in the long run to have this form's Save button OnSelect be SubmitForm() and then its OnSuccess be ResetForm(), NewForm(), Navigate() and then navigate to a page with either a data table or gallery of all previously entered records. Then, should the user need to edit any of those records, they could open that particular one up and continue to edit and save those changes back to SharePoint. 

     

    That way, you can keep entry of new records and editing of records separate processes.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard