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 to my clipboard w...
Power Apps
Answered

Copy to my clipboard without Copy() function.

(0) ShareShare
ReportReport
Posted on by 20

Hello,

I'm encountering an issue with the copy function in a SharePoint Form app. It works well within SharePoint Online, but when I use it in the list within Teams, it shows an error: "Failed copying text to clipboard."

Upon reviewing the documentation, I noted that the copy function isn't supported with embedded apps.

I'm looking for a solution to enable copying to my clipboard while using the Teams List View.

Thank you!

Categories:
  • Verified answer
    tareqrosul Profile Picture
    164 on at

    Sadly you cannot do that.

    But you can do the following things:

    1. Set the text to a text input

    2. Provide a download of like converting the text to a .txt file or CSV

    3. Use powerAutomate to send the text to a certain user

     

    If my response was beneficial to you, feel free to leave a 👍 symbol. If it effectively resolved your query, please signify with a 👍 and mark it as the Solution, assisting other community members in locating this helpful information more readily.

  • luisafrancoj95 Profile Picture
    20 on at

    Thank you !

    Do you know if any option exists to select the text automatically and the user only needs to press ctrl + c?

  • tareqrosul Profile Picture
    164 on at

    yes there is 
    imagine TextInput1 is the text input 
    in the Default Property add a variable like inputText
    Now in the behavior property  add this code 

    UpdateContext({inputText:"This is the text"});
    SetFocus(TextInput1)

    the SetFocus() function will do the trick

    If my response was beneficial to you, feel free to leave a 👍 symbol. If it effectively resolved your query, please signify with a 👍 and mark it as the Solution, assisting other community members in locating this helpful information more readily.

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard