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 / Create hyperlink button
Power Apps
Unanswered

Create hyperlink button

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I have a hyperlink column in a SharePoint list and right now in the custom Power Apps Form it is showing the full URL.

 

I am looking to create a button that is linked to whatever URL is in the column. Keep in mind that this URL will be unique for different Items in the SharePoint List, since they are links to job folders. At the moment, the URL takes up a lot of space. I want to condense it to either custom text or convert to a button within Power Apps (the URL is obtained by a Power Automate property)

 

Thanks!

 

JackShaww_0-1642131451933.png

 

Categories:
I have the same question (0)
  • premkumar2810 Profile Picture
    55 on at

    Hi,

     

    Add a button control below Folder location label and use Launch() function in OnSelect property of button to open a url in a new window.  Set URL to a variable and use the variable as input to the Launch function.

    Example: 

    Launch("365stack.in")

    Mark as solution if this solve your problem.  Visit our site for other powerapps related content.

     

    Thanks.

  • Community Power Platform Member Profile Picture
    on at

    Thanks for the response.

     

    I am fairly new to Power Apps and I couldn't figure out how to find the variable for the URL value and how to implement that variable into the Launch function.

  • premkumar2810 Profile Picture
    55 on at

    Hello,

     

    Use this Set(varUrl, "Google.com") to create a variable.  Instead of Google.com, use your SharePoint column data carrying the URL or URL obtained from the power automate.  Then use this variable in the Launch function.

  • Community Power Platform Member Profile Picture
    on at

    Still no luck. I am unsure of where to create the variable, sorry I am no good at this.

     

    Is there perhaps a simpler way to just condense the Hyperlink text to a custom text?

  • premkumar2810 Profile Picture
    55 on at

    Hello @Anonymous 

     

    1. Add New button in your screen / Form
    2. Select OnSelect property of the button, add this expressions to it.
    Set(varURL, "Google.com");
    Launch(varURL);

     

  • Community Power Platform Member Profile Picture
    on at

    Hi,

     

    I have done as you mentioned. I have noticed however, my button is not actually clickable in SharePoint.

     

    Also, this is the HTML variable that is produced by Automate - how do I pump this into the Set varURL function above? Do I just copy/paste the entire thing?

    JackShaww_0-1642137890838.png

     

  • premkumar2810 Profile Picture
    55 on at

    Could you please use Parent.Default directly 

     

    Set(varURL, Parent.Default);
    Launch(varURL);

     

     

    or else

    Set(varURL, ThisItem.columnName);
    Launch(varURL);

    columnName is the Name of the column having the URL value

  • Community Power Platform Member Profile Picture
    on at

    JackShaww_0-1642138774530.png

    I have done as you requested - I still can't actually click the button though, nothing happens when I click it.

  • WarrenBelz Profile Picture
    153,032 Most Valuable Professional on at

    Hi @Anonymous ,

    What mode is the form in - that will only work in Edit mode.

  • Community Power Platform Member Profile Picture
    on at

    Hi,

    This fixed the clicking issue - I needed to change the mode to Edit for the 'Folder Location' field.

    But now I get this error when I click it:

    JackShaww_0-1642470458281.png

     

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard