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 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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (53,940)