Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

App will not close after Patch

I'm trying to get the application to close after patching but it just stays open: 

If(SPForm.Mode = FormMode.New,
            Title: formTitle.Text, 
            child: ForAll(ChildSelector.SelectedItems,{       '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
                Id: ID, 
                Value: Title 
    ); ResetForm(SPForm);RequestHide(),
            Title: formTitle.Text, 
            child: ForAll(ChildSelector.SelectedItems,{       '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
                Id: ID, 
                Value: Title 
    ); ResetForm(SPForm);RequestHide();


Not applicable

Same, our custom form now closes correctly after submitting.  Thanks @chmoncayMSFT and the team for such a quick turnaround in getting this fixed up!

Mine is now working as well. Thank you.

Community Support
Community Support

Hi @simkessy ,

Just an update -- Currently, the issue has been fixed within Custom form in SP List.


Please consider clear cache of your browser, then try your custom form in your SP List again, check if the issue is solved.


If the issue still exists, please consider remove the custom form from your SP List, then re-create a new one for your SP List, then run your custom form again, check if the issue is solved.


If you have solved your problem, please go ahead to click "Accept as Solution" to identify this thread has been solved.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



Hi im currenlty having this issue.

I have a heavly customise form. RequestHide is not working in Edge but working in Chrome.
I have cleared cahce and everything.


If i create a new list and a new form the same RequestHide code works in both Edge and Chrome.


What is the steps i can take, i cannot delete and re-create this form as it will take hours to do so.

Hi @chmoncayMSFT ,


I am still having problems with this issue. I reverted to SP form, deleted the custom PA form and then recreated, cleared cache and yet the Save button still does nothing. 


Could you please share the instructions for adding the additional button and how to use the code you referenced?


Much appreciated!

Hi there,

I got this to work by adding this to the OnSuccess field of the SharePointForm:

Refresh('Name of your list'); ResetForm(SharePointForm1); RequestHide()

Thanks to @RandyHayes  

I am having the reverse problem. In some instances, I want this window to remain open until further user interaction. However, whenever the form is submitted, it behaves as though RequestHide() is being called when it is not.

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,036)