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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating a button to l...
Power Apps
Answered

Creating a button to launch a hyperlink field

(0) ShareShare
ReportReport
Posted on by 79

Hi there,

 

My datasource is a SharePoint list. I am trying to display a hyperlink field as a button, rather than a link (for aesthetic purposes).

 

In the snip below, I would like the hyperlink button to be displayed as a clickable button. The formula I am trying to use does not seem to work. Please can anyone point me in the right direction?

 

Thanks in advance.

 

FarmingBA_0-1686611073176.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @FarmingBA ,

     

    Please try this:

    Launch(Substitute(Substitute(First(Split(Index(Split(DataCardValue32.HtmlText,"href="),2).Value,">")).Value,"""",""),"'",""))

     

    Best Regards,

    Wearsky

  • Verified answer
    FarmingBA Profile Picture
    79 on at

    Thanks for the response. This does not seem to have worked? I've added a snip. Are you able to identify what I am doing wrong?

     

    FarmingBA_1-1686635401703.png

     

  • v-xiaochen-msft Profile Picture
    on at

    Hi @FarmingBA ,

     

    1\ What's the error message?

    2\ Could you share the outputs of the html input control? (datacardvalue32.htmltext)

     

     

  • FarmingBA Profile Picture
    79 on at

    It has worked! My mistake. The DataCard is now named DataCard6, rather than DataCard32. So it was a simple naming error on my part. 

     

    Brilliant. Thanks so much!!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard