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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (12,337)