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 / SharePoint form in Pow...
Power Apps
Unanswered

SharePoint form in Power Apps: revert back to screen with Edit All command after Form submission

(1) ShareShare
ReportReport
Posted on by 4

I've customized a SharePoint list form in Power Apps. I want to replicate the behavior of the standard form, but I don't know how.

 

Standard behavior: from the list, I open an item. I get to the View screen. At the top, I have the Edit All command which allows me to edit all fields. When I click on Edit All, the top controls change to Save and Cancel. If I change something and hit Save, I go back to the original View screen with the updated entry info. 

 

Power App with SharePoint integration default behavior: I open an item, get to the View screen. Hit Edit All at the top, move to the Edit screen, update the entry, hit Save.

 

This is the user experience I want: from SP list click on entry -> click on Edit all at the top -> modify the entry -> click on Save at the top -> view the modified entry -> click on Edit all at the top if any other change is needed. Currently the last step is not possible because the SP commands remain stuck on Save/Cancel.

This is the user experience I currently have to work with: from SP list click on entry -> click on Edit all at the top -> modify the entry -> click on Save at the top -> app takes the user back to the SP list, where the user needs to find the entry again to view it.

 

The App shutting down the window and going back to the list is due to the base settings which include RequestHide():

SharePoint Integration; OnSave:

 

SubmitForm(Form1)

 

Form1: OnSuccess:

 

ResetForm(Self); RequestHide()

 

while I want to stay on the entry, like in the standard form.

 

I can change OnSuccess, remove RequestHide() and add Navigate to the main View screen:

 

ResetForm(Self); Navigate(ViewScreen)

 

which works, but then the controls don't reset, they are stuck on Save/Cancel, and the user has to refresh the page if they want to see again the Edit All command from SharePoint at the top of the entry, and thus be able to make additional edits if necessary.

 

So how do I change the custom form so that the user experience matches the desired one: from SP list click on entry -> click on Edit all at the top -> modify the entry -> click on Save at the top -> view the modified entry -> click on Edit all at the top if any other change is needed ?

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @Floriana1,

    I think you are asking for two different forms.

    The standard form you ask for is the default form of SharePoint, the second form you don't want is the PowerApps integration custom form, which is totally different one.

    vqiaqimsft_0-1701751710838.png

    If you want to keep the feature on the standard form, just set the OnSave property:

    SubmitForm(Form1);EditForm(Form1)

     

  • Floriana1 Profile Picture
    4 on at

    Hi Qi, thank you for the reply. No, I'm not asking for two different forms. I have customized my SharePoint form with PowerApps for specific needs that I did not cover as they are not relevant to this question - those customizations are working fine. There is a specific behavioral difference between a customized form and the standard form, which I explained in my question, and I want the customized form to behave like the standard form in that specific regard.

  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @Floriana1,

    So, have you tried my formula?

  • Floriana1 Profile Picture
    4 on at

    Conceptually, 

    SubmitForm(Form1); EditForm(Form1)

    is not different from 

    SubmitForm(Form1); ViewForm(Form1)

     so this will not solve my problem with SharePoint controls not resetting unless I include RequestHide(). Moreover, I do not want my users to go back to the Edit mode, I want them to go to the View mode. However, I can see that this was not clear in my initial message, so I will update that.

  • JR-09032301-0 Profile Picture
    3 on at
    Did anyone ever find a solution to this? I'm having the same issue.

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard