cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kinghnvn
Helper V
Helper V

Back to Previous tab

Hi,

 

Do you know how to create a Back button to Previous Tab?

 

kinghnvn_0-1637880211521.png

 

Thanks.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @kinghnvn 

Add this on back button 

Navigate(MyAppts,ScreenTransition.Cover, {prevSelected:!prevSelected,upSelected:false})

Make sure you delete Back() and use the code 

 

Remove OnVisible the appointment screen this 

UpdateContext({prevSelected:false});UpdateContext({upSelected:true});

Captureremove.PNG

Thank you
If this post helps, then Click on the Thumbs Up below. and Accept it as the solution . to help others find helpful.

View solution in original post

12 REPLIES 12
Ramole
Super User
Super User

Hi @kinghnvn 

 

Sorry did not understand your question, what you need to do?, please give more info in order to be assisted 

 

Thanks 

Thank you
If this post helps, then Click on the Thumbs Up below. and Accept it as the solution . to help others find helpful.

I have two screen: A (previous screen) and B (current screen)

For screen A: I have two gallery (UPCOMING and PREVIOUS), I select an item on PREVIOUS tab and it open a new windows (screen B) with Back button. I would like to click on the Back button it will be back to the PREVIOUS tab.

 

Thanks.

Hi @kinghnvn 

Add this Back button Back() 

Thank you
If this post helps, then Click on the Thumbs Up below. and Accept it as the solution . to help others find helpful.

yes. I'm using the code Back() but it will back to the screen with UPCOMING tab (not PREVIOUS tab)

Hi @kinghnvn 

Can you show me a screen shots please so I can see

Thank you
If this post helps, then Click on the Thumbs Up below. and Accept it as the solution . to help others find helpful.

@kinghnvn 

You also reference direct screen name like this 

 Navigate(ScreenName)
Thank you
If this post helps, then Click on the Thumbs Up below. and Accept it as the solution . to help others find helpful.

at the PREVIOUS tab screen -> click on icon to view detail

kinghnvn_1-1637901255627.png

then click on Back button

kinghnvn_0-1637901046313.png

it will be back to the UPCOMING tab screen, I want to it back to the PREVIOUS tab screen

 

kinghnvn_2-1637901366449.png

 

 

 

Hi @kinghnvn 

Add this on back button 

Navigate(MyAppts,ScreenTransition.Cover, {prevSelected:!prevSelected,upSelected:false})

Make sure you delete Back() and use the code 

 

Remove OnVisible the appointment screen this 

UpdateContext({prevSelected:false});UpdateContext({upSelected:true});

Captureremove.PNG

Thank you
If this post helps, then Click on the Thumbs Up below. and Accept it as the solution . to help others find helpful.

Yes, just remove OnVisible. it worked. thanks 🙂

UpdateContext({prevSelected:false});UpdateContext({upSelected:true});

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.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,837)