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

Edit Screen if statment

Hello. 

I have two screens reading from a SPO List.  Both screens point to the same edit screen. 

E.g Screen 1 has 1 gallery reading a SPO List

Screen 2 has 1 gallery reading a SPO List

 

On the edit screen, i have a back button. 

 

How can i put some logic to say, 

1. If a user edits an item from Screen 1 and then click the back button on the edit screen, go back to screen 1

2. If a users edits an item from Screen 2 and then the user clicks the back button on the edit screen, go back to screen 2. 

 

Thanks

2 ACCEPTED SOLUTIONS

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Vstar19 ,

Set a Variable (global) as you select from each screen

Set(gblScreen,1)

or 2.

When you exit the Edit screen

If(
   gblScreen=1,
   Navigate(Screen1),
   Navigate(Screen2)
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

WarrenBelz
Super User
Super User

Hi @Vstar19 ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @Vstar19 ,

Set a Variable (global) as you select from each screen

Set(gblScreen,1)

or 2.

When you exit the Edit screen

If(
   gblScreen=1,
   Navigate(Screen1),
   Navigate(Screen2)
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

WarrenBelz
Super User
Super User

Hi @Vstar19 ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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 (1,448)