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 / Copy HTML to Clipboard
Power Apps
Unanswered

Copy HTML to Clipboard

(0) ShareShare
ReportReport
Posted on by 9

Hi, Folks,

 

Any idea on copying content from an HTML control to the clipboard to paste elsewhere, formatting and all?  We're using TBag's PCF component

which states that in the API, MIME-type is by default text/html to copy as html.  But feeding it HTML outputs everything in plain text tags (we simply installed the component without modifying it ourselves.)  We looked into Power Automate options but haven't come across anything that would send the content to the clipboard and preserve formatting.  Thanks!

Categories:
I have the same question (0)
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @coredumped 

    As per my knowledge, no OOB functionality. I had a similar requirement but not tried the PCF control either. Please vote for this feature and here is the link to vote. 

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Copy-to-Clipboard/idi-p/32975

     

     

    Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful.

  • coredumped Profile Picture
    9 on at

    Voted for the idea and thank you for the reply!  Not surprised, but definitely hope this will be supported in the near future.

  • MVAMADEU Profile Picture
    2 on at

    Hello budy, how are you?

    Did you manage to solve your problem, if so, can you help me? I wish I could copy to clipboard html

  • coredumped Profile Picture
    9 on at

    Hi, sorry, no.  There's still no direct solution and the Power Apps idea quote above is in "escalated" status.  Our use case was recreating an app to let users create their content in HTML in Power Apps, and then copy to clipboard via a button to paste into their Outlook (that was their app functionality at the time).  Since we couldn't do it directly, we just sent the HTML output to a Power Automate flow to send it in an email to them.  So you may be able to work around it similarly, depending on where the output is supposed to land, by using a flow connector that takes in HTML and delivers it to the landing app/service.  Good luck!

  • JMF2201 Profile Picture
    13 on at

    Copy(PlainText(HtmlText1.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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard