cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
testnow123
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
mdevaney
Super User
Super User

@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
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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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