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

Refresh after the submit button

I have a display and edit screen.  The movement between the two work real well.  However, if I display a list entry, then edit it and click on submit, it will go back to the display screen with the list entry I just edited (which I want), but then it refreshes within a second and go to the list entry that is listed first in the sharepoint list.

Is there a way to keep it on the list entry that I just edited?




Accepted Solutions

@CNT I have put everything back like you suggested, and just pointed the "Save" button to go to the ListScreen (Main screen for the app) and everything works that way.  Unless you have something else for me to try with the display, I will just leave it like that right now.

View solution in original post

@Jchopp I would suggest to leave it. Glad o help!


Please remember to give a 👍 and accept the solution as it will help others in the future.

View solution in original post

Super User
Super User

@Jchopp Set the Item Property of the display Form to viewForm.LastSubmit. Hope this helps!


Ok, I have the gallery1.selected in that field, how do I combine the two?  Or do I replace what I have with what you suggested?

@Jchopp What is the Items property of Gallery1?


SortByColumns(Search('Equipment Tracker',TextSearchBox1.Text,"Title"), "Escrow_x0020_Deadline", If(SortDescending1, Ascending, Descending),"Title", If(SortDescending1, Ascending, Descending))


@Jchopp As I understand you have one Gallery and two forms, 1 Display Form and 2 Edit Form. Both these forms are having the Item as gallery1.selected and after submit, Gallery1 jumps to the 1st record. Is that right?


SOrry, this is what I have:  the edit form goes back to the display form, but instead of the item it was editing, it goes to the first one in the sharepoint list.

@Jchopp normally the gallery will remain in the same item you have submitted. Do you have anything in the Default property of the Gallery?


There is nothing in the default for the gallery.

@Jchopp I hope I've got it right! So, you have ONE gallery and ONE form both having the same datasource('Equipment Tracker'). The Item property for the form is Gallery1.Selected. After Submitting the Form, the Form goes to View Mode. The gallery jumps back to the 1st item.

Can you try leaving the form in Edit mode and see if the Gallery retains the position.

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,441)