cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sajarac
Kudo Kingpin
Kudo Kingpin

Navigating from Different Pages

Hi there.

 

I hope someone could point me in the right direction:

 

Let's say I have 3 different screens

 

Screen A

Screen B

Screen C

 

Screen C is a common screen for Screen A and Screen B. I mean I ahve some data in screen A and if you came from Screen A you will see some information. and if you came from screen B you will see a different information.

 

Now If I am in screen A and would like to navigate to screen C and after click in the back icon I would like to navigate back to my screen A. and same situation with the Screen B.

 

 

Any help please?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
rampprakash
Power Participant
Power Participant

Hello @sajarac,

 

Add below code in App Onstart

 

Set(currentScreen,Blank());

 

rampprakash_0-1632497892597.png

 

Add Icon in Screen A in on select Navigate('Screen C',Fade)

rampprakash_1-1632497917214.png

in Screen A Visible 

Set(currentScreen,"ScreenA");

 

rampprakash_2-1632497936896.png

 

 

Add Icon in Screen B in on select Navigate('Screen C',Fade)

rampprakash_3-1632497952916.png

 

in Screen B Visible 

Set(currentScreen,"ScreenB");

 

rampprakash_4-1632497967502.png

 

 

In Screen C --> Add an icon and in On select write below code

 

If(currentScreen="ScreenA",Navigate('Screen A',Fade),Navigate('Screen B',ScreenTransition.Fade))

 

 

rampprakash_5-1632497982563.png

 

If you want to perform any complex operation like switch to multiple screens based on condition you can try above code

Else

simply use BACK() Function so that it can naviage easily from the destination screen to Back screen

 

Please mark as Answer if it is helpful and provide Kudos

 

 

Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

Blog : https://microsoftcrmtechie.blogspot.com

 

View solution in original post

3 REPLIES 3
rampprakash
Power Participant
Power Participant

Hello @sajarac,

 

Add below code in App Onstart

 

Set(currentScreen,Blank());

 

rampprakash_0-1632497892597.png

 

Add Icon in Screen A in on select Navigate('Screen C',Fade)

rampprakash_1-1632497917214.png

in Screen A Visible 

Set(currentScreen,"ScreenA");

 

rampprakash_2-1632497936896.png

 

 

Add Icon in Screen B in on select Navigate('Screen C',Fade)

rampprakash_3-1632497952916.png

 

in Screen B Visible 

Set(currentScreen,"ScreenB");

 

rampprakash_4-1632497967502.png

 

 

In Screen C --> Add an icon and in On select write below code

 

If(currentScreen="ScreenA",Navigate('Screen A',Fade),Navigate('Screen B',ScreenTransition.Fade))

 

 

rampprakash_5-1632497982563.png

 

If you want to perform any complex operation like switch to multiple screens based on condition you can try above code

Else

simply use BACK() Function so that it can naviage easily from the destination screen to Back screen

 

Please mark as Answer if it is helpful and provide Kudos

 

 

Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

Blog : https://microsoftcrmtechie.blogspot.com

 

View solution in original post

eka24
Super User
Super User

Insert 2 Icons on Screen C with:

   Navigate(ScreenA)

   Navigate(ScreenB)

 

Then another Icon in ScreenA with: Back()

Then another Icon in ScreenB with: Back()

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

 

 

sajarac
Kudo Kingpin
Kudo Kingpin

Thank you very much both!!

 

🙂

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,322)