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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Turn visible url text ...
Power Apps
Answered

Turn visible url text into a button

(0) ShareShare
ReportReport
Posted on by 179

I've got a really simple app based on a sharepoint list that includes a hyperlink column (Buy It). Rather than have the full url visible as in the screenshot I want to have a button / icon that can be clicked to open the corresponding url. 

Any help appreciated

ChrisUndery_0-1689076443293.png

 

Categories:
  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on at

    Hello @ChrisUndery 

    This is quite simple 🙂 you need to do the following:-

    1)Add button/icon and in the OnSelect property add this code

     

    Launch("Add link that you want to navigate to")

     

    or

    2)Add a html text control and on the htmltext property add

     

    "<a href='add link here'</a><b><font color=blue>Add hyperlink text</font></b>"

    Example output 

     

    Anonymous_Hippo_0-1689077598846.png

    Easyy !! 

     

    Cheers

  • ChrisUndery Profile Picture
    179 on at

    Thanks @Anonymous_Hippo.
    For either of those options what code would I use rather than the actual url as it will be different depending on which gallery item is selected. For the screen shot given, the url is the value in datacardvalue.5

  • Verified answer
    ChrisUndery Profile Picture
    179 on at

    I worked it out.

    Needed to change the datacardvalue5 from what it was to just the text 

    Parent.Default
    //"<a href='" & Parent.Default & "'>" & Parent.Default & "</a>"

    Then turn the form 'BuyIyDataCard1) into edit mode (DisplayMode) as was in View (so couldn't click the button)

    Then hide the datacardvalue5 field

    Then used the following for onselect  of the icon or button

    Launch(DataCardValue5.HtmlText)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard