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

Can I navigate to a screen by selecting an item from a dropdown menu?

Hi, I'm trying to make a dropdown menu with options of screens(app's), that when the name is selected you'll navigate to that specific screen. For a while now I've been searching for a solution and found someting about creating a collection first. If so, how can I make one just for this task?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted

Re: Can I navigate to a screen by selecting an item from a dropdown menu?

Hi


Yes you can,

Simply insert a dropdown with the values you want as items, then go to the OnChange property and add something like that :

If(Dropdown1.Selected.Value = "2"; Navigate(Screen2;ScreenTransition.Cover)) or with a switch case 🙂

 

Hope it helps

View solution in original post

Dual Super User
Dual Super User

Re: Can I navigate to a screen by selecting an item from a dropdown menu?

Hi @BrunaVieiraPDT 

 

Can you try to use below expression:
 
Dropdown -> Items -> ["Screen1","Screen2","Screen3"]
OnChange -> Switch(Dropdown1.Selected.Value,"Screen1",Navigate(Screen1),"Screen2",Navigate(Screen2),"Screen3",Navigate(Screen3),Navigate(App.ActiveScreen))
 
This will Navigate to selected Screen. Make sure you update the screen names as per your application. Also, the names passed in Items should be same as those passed in Switch statement.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
Highlighted

Re: Can I navigate to a screen by selecting an item from a dropdown menu?

Hi


Yes you can,

Simply insert a dropdown with the values you want as items, then go to the OnChange property and add something like that :

If(Dropdown1.Selected.Value = "2"; Navigate(Screen2;ScreenTransition.Cover)) or with a switch case 🙂

 

Hope it helps

View solution in original post

Dual Super User
Dual Super User

Re: Can I navigate to a screen by selecting an item from a dropdown menu?

Hi @BrunaVieiraPDT 

 

Can you try to use below expression:
 
Dropdown -> Items -> ["Screen1","Screen2","Screen3"]
OnChange -> Switch(Dropdown1.Selected.Value,"Screen1",Navigate(Screen1),"Screen2",Navigate(Screen2),"Screen3",Navigate(Screen3),Navigate(App.ActiveScreen))
 
This will Navigate to selected Screen. Make sure you update the screen names as per your application. Also, the names passed in Items should be same as those passed in Switch statement.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

BrunaVieiraPDT
Level: Powered On

Re: Can I navigate to a screen by selecting an item from a dropdown menu?

Thank you once again @yashag2255 !!!! Build an app without knowing much is really hard Smiley Sad

Helpful resources

Announcements
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,038)