cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerAid
Helper II
Helper II

Gallery On Home Screen Only Shows Previously Submitted Form After New Form is Submitted

I have a Tablet PowerApp that is connected to a SharePoint 365 list datasource.  The Home Screen has a Gallery that displays a list of all submitted items.  There is no filter on the Gallery.  Also on the Home Screen is a button to "Create New Request".  It transitions to a Form in New Form Mode.  When I click the Submit button to submit the new request, the submit button submits the form and transitions back to the Home Screen but now only the submitted item is showing in the gallery.  I can close the app and restart it and the Gallery displays all the items again or if I'm editing the App, I can click on the datasource and choose Refresh and the items will show up in the Gallery again.  My formula for the Submit button is as follows:

OnSelect : SubmitForm(Form1);Navigate(ScreenHome,ScreenTransition.Cover)

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Try to refresh the DataSource on the final of the formula, like this:

 

OnSelect : SubmitForm(Form1);Navigate(ScreenHome,ScreenTransition.Cover); Refresh(yourdatasource)

 

See if it works.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Try to refresh the DataSource on the final of the formula, like this:

 

OnSelect : SubmitForm(Form1);Navigate(ScreenHome,ScreenTransition.Cover); Refresh(yourdatasource)

 

See if it works.


@Anonymous wrote:

Try to refresh the DataSource on the final of the formula, like this:

 

OnSelect : SubmitForm(Form1);Navigate(ScreenHome,ScreenTransition.Cover); Refresh(yourdatasource)

 

See if it works.


Thanks!  That worked!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (2,557)