cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Open page after selecting an option (dropdown)

Hi all, 

 

I couldn't find a proper answer on the internet, so that's the reason I post it here.. 🙂 

Do you know if it's possible to launch a URL (to another SharePoint page), after I selected a value in the dropdown list. Each selection leads to a different page. I already made a cascading dropdown in Powerapps, but I don't know how I can refer/link them to specific pages.  

 

Maybe through a button? I found this, relevant, tutorial (I watched way more, but I couldn't find the answer to this specific question): https://www.youtube.com/watch?v=9aXP48XECDc .

 

I hope you can help me out. 

Thanks in advance. 

2 REPLIES 2
Super User III
Super User III

@testnow123 

Assuming you have a dropdown with the values:

  • blank (no selection made)
  • Reddit
  • Facebook
  • Instagram

 

A general solution would be to use this code in the OnChange property of the dropdown.

Switch(
    Dropdown1.Selected.Value,
    "Reddit", Launch("https://reddit.com/"),
    "Facebook", Launch("https://facebook.com/"),
    "Instagram", Launch("https://instagram.com/")
)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Hi @mdevaney , 

Thank you very much for your quick response. 
Well it actually works, but the problem is that it doesn't work with cascading dropdowns. So, it works with a dropdown when it's a normal dropdown (with items in powerapps), but it doesn't work if the list is stored in SharePoint (and/or if it's a cascading dropdown). 

 

😞 any idea how I can fix this? 

Thanks in advance 

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,712)