web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : zgtR/cA4bEV5WnGM6Smbwh
Power Apps - Building Power Apps
Unanswered

Dynamic Hyperlinked Icon from Google Sheets

Like (0) ShareShare
ReportReport
Posted on 4 Oct 2019 11:55:38 by

Hello Everyone,

I had made a simple app which displays the data from a google sheet in accordance to the filter selected from the drop down menu. It is a static data app. But I also want to redirect the user to a specific (unique to each drop-down entry) URL on clicking an icon. I have tried Launch("url") but it does not provide dynamic capabilities and a single link remains freezed in the icon. Please help by suggesting a workaround. I have attached the screenshots here.

P.S. - The URLs are unique for each Asset code and filled in the google sheets.

  • mdevaney Profile Picture
    29,987 Moderator on 04 Oct 2019 at 12:27:54
    Re: Dynamic Hyperlinked Icon from Google Sheets

    @pkrajput 

    Consider the following example.

     

    You have a dropdown with the Items property set to the following code

     

    ["1","2","3"]

     

    You also have a button.  When the user clicks the button a web page will be launched.  The URL is determined by the selection made in the dropdown.

     

    Put this code in the OnSelect property of your button.

     

    Switch(
     Dropdown1.SelectedText.Value,
     "1",Launch("www.google.com"),
     "2",Launch("www.msn.com"),
     "3",Launch("www.yahoo.com")
    );

     

    Do the example here and then modify the code to work in your own app!

     

    ---
    Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473