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 / HOW TO COPY AN ITEM FR...
Power Apps
Unanswered

HOW TO COPY AN ITEM FROM A SHAREPOINT LIST TO ANOTHER ON A BUTTON CLICK

(0) ShareShare
ReportReport
Posted on by 2

I have been having issues trying to copy an item (a record) from a gallery in powerapps (a sharepoint list datasource) into a new list.
I have tried using the patch function, it was not successful. I also tried using power automate, but i just dont know how to go about it.
Can someone please help me, I've been stuck here for days now

Categories:
I have the same question (0)
  • bgrgic1 Profile Picture
    124 on at

    Hi Johnes, can you share how your patch looks like?

    There is no quick way to copy item from one list to another in PowerApps, you basically need to write your patch to create a new item into the destination list and set the properties of that item to those from the item in source list.

    Something like this

    Patch(DestinationList, Defaults(DestinationList),{Title : sourceItem.Title.....})

  • DJ_Jamba Profile Picture
    2,837 Super User 2025 Season 2 on at

    1. Connect to both SharePoint(SP) lists in Power Apps

    2. If the button is outside of your gallery:

        Patch(

           SPConnection2,

           Defaults(SPConnection2),
           {

               Col_In_SP_List2: Gallery.Selected.Value

           }
        )

     

    3. If the button is inside your gallery (and the data you want to patch is selected in the gallery):

       Patch(

           SPConnection2,

           Defaults(SPConnection2),
           {

               Col_In_SP_List2: ThisItem.Value

           }
        )

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