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 and Copying H...
Power Apps
Unanswered

Creating and Copying Hyperlinks in Power Apps

(0) ShareShare
ReportReport
Posted on by

Hey there,

I'm currently working on a Content Manager Power App. The app's content consists solely of hyperlinks, which users need to copy via a button so they can paste them into an email. The content is stored in a SharePoint list with two columns: Title and Link.

 

The problem I have is that I can't find a solution to create and copy the hyperlink directly from the Power App. Currently, I'm only able to copy the link, and users have to manually create the hyperlink in their emails.

 

Is there a solution to create and copy a hyperlink directly?

 

Best regards

Matteo

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    hey @Matteo4 

     

    you could try this for creating the link:

     

    "<a href='" & ThisItem.Link & "'>" & ThisItem.Title & "</a>"
    

     

    if that works u need most likely a text input rather than a text label

    you could use powerautomate to send the link to the user already formatted and ready to share for example.

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Matteo4 Profile Picture
    on at

    Hey mmbr1606,

     

    thanks for your answer, but I tried this already and it didn't work.

    When I paste it into the E-Mail Form in to our Microsoft Dynamics 365 System it appears with the href=... text.

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    directly copy pasting wont work i guess, have u tried in combination with power automate?

     

  • Uismayil Profile Picture
    55 on at

    Hi @Matteo4 

    I believe there is no direct copy-to-clipboard function in PowerApps.

    The workaround is to use a Power Automate flow. PowerApps sends the title and hyperlink to the flow, which then combines them as a hyperlink and sends an email to the user. The user can then directly copy the hyperlink, avoiding the manual creation of the hyperlink process.

     

    Please refer the screenshots.

     

     

    If my response has helped resolve your issue, please consider clicking "Accept as Solution" and giving it a thumbs up so others can find it helpful. ….UIsmayil

    2.png
    1.png
  • EddieE Profile Picture
    4,641 Moderator on at

    @Matteo4 

    You could try this. 

     

    I created a dummy collection

    EddieE_0-1716327573041.png

    Added a gallery with Items colHyperlinks

    Then, added a button into the gallery with this code:

    Launch("mailto:", {subject: ThisItem.Title, body: ThisItem.HLink })

     

    The button launches / opens a new email with the link, eg

     

    EddieE_1-1716327771214.png

    You can include Subject, CC, BCC and Body in the record part of the Launch code - see here

    https://valto.co.uk/microsoft-powerapps/launch-email/

     

     

     

  • Matteo4 Profile Picture
    on at

    Thanks, guys, but I'm not looking for a way to send a hyperlink to myself via email. I think the process is still faster by copying the hyperlink label and link and creating it manually. If there is a new way to create this and copy it to the clipboard, please keep me updated.

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    hey @Matteo4 

     

    why dont you use Power Automate to send it to yourself? Its only a one time effort to set this up.

    Until now i have not seen a copy to clipboard thing on the horizon

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Matteo4 Profile Picture
    on at

    It's not about the effort of setting it up. I set it up, but I just don't like the process for the users because it can be confusing for them. I think it’s faster to create the hyperlink manually.

  • Matteo4 Profile Picture
    on at

    I found a better way for this process now. I created a HTML Field in the Gallery Item and then put the href HTML Code in like this:

    "<a href='" & ThisItem.Link & "' style='color: blue;'>" & ThisItem.Title & "</a>"

    So now the users, can copy the Hyperlink with marking the hyperlink and copying it. 

     

    Now I only need one thing to perfectly end this task: I had a Copy button inside the Gallery Item. Now when I do Copy(HTML Field) its just copying a random Hyperlink in the list.

    Is there like a way to say: Copy(ThisItem.Hyperlink) ? Somehow ThisItem is not working here.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 445

#2
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 321 Super User 2025 Season 2

Last 30 days Overall leaderboard