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

Re: Open page after selecting an option (dropdown)

@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."

Highlighted
Regular Visitor

Re: Open page after selecting an option (dropdown)

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,257)