cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
pm13
Level: Powered On

one button to navigate and refresh

Hi there

 

Is it possible to have one button that can do 2 things? I want one button that can navigate to a diffreent screen and also refresh data at the same time.

 

Example: When I am  inside the detailed view of an item and I press the back button on my app, I want the screen to navigate to the gallery acreen (this I can do), but I also want it to refresh the gallery screen with any new data.

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: one button to navigate and refresh

Yes this is possible. Use the " ; " to separate commands. 

 

Try: 

 

Navigate(
    screen2.TransitionNone);
Refresh(
    myDataSource)

View solution in original post

3 REPLIES 3
Super User
Super User

Re: one button to navigate and refresh

Yes this is possible. Use the " ; " to separate commands. 

 

Try: 

 

Navigate(
    screen2.TransitionNone);
Refresh(
    myDataSource)

View solution in original post

pm13
Level: Powered On

Re: one button to navigate and refresh

Perfect, thanks for you help.

Super User
Super User

Re: one button to navigate and refresh

No problem. Please mark as "solution" if it worked for you 🙂

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,956)