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 / Patch attachments to s...
Power Apps
Unanswered

Patch attachments to sharepoint list from edit form of another sharepoint list

(0) ShareShare
ReportReport
Posted on by 130

Hi all, 

I have a edit form in which I show SP list1 data and I want to patch SP list2  with data from SP list1 edit form.

I'm able to patch almost all columns in SP list2 but couldn't patch attachments.

I tried SPListEditform.updates in patch function but it didn't worked.

My code:
Patch(Splist2,
defaults(Splist2),
{column1:SPListEditformDataCard.text},
SPListEditform.updates
)

I want the same attachments in SP list2 which is in SP list2.

Any help would be highly appreciated.

Thanks,
R

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,427 Most Valuable Professional on at

    Hi @r_voyager ,

    Attachments can only be saved directly from Power Apps with either SubmitForm or Patch(FormName.Updates) when the Form Item is from the list you are adding the attachment to. The only way to add it to another list would be to go down the rather complex patch of sending it off to Power Automate and attaching it. This video from Shane Young @Shanescows may assist if you want to venture there.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

    Hi @r_voyager ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • r_voyager Profile Picture
    130 on at

    Hi @WarrenBelz , I tried what was explained in that video of Shane but when I open the attachments patched to SP , they show inaccurate data eg. images corrupted, excel file showing url and not tables etc..

    But I did try Reza Dorrani's Video ,it helped me achieve what I was looking for, some validations applied and it worked for now. 

    On my part data source is SP list 1 for gallery and SP list 2 for form.

    In gallery items , displayed attachments thumbnail(Reza's video) , which allows to download attachments from form while selecting gallery items.

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

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard