Announcements
Hello together,
I have created an application form with which you can apply for various things. I have now also added this DataCard where you can upload attachments. I want these documents (in the attachments) to be saved in a column in my sharepoint list. (See pictures)
Can I simply patch the attachments or use the patch function or is that not possible with attachments?If no, how can I solve it?
Thanks in advance!
https://www.youtube.com/watch?v=ECwRwjyPAQE
There is a lot of information about that online
https://powerusers.microsoft.com/t5/Building-Power-Apps/Need-to-add-Attachment-to-a-PATCH-to-a-SharePoint-List/td-p/158968
https://powerusers.microsoft.com/t5/Building-Power-Apps/Saving-attachments-using-Patch/td-p/277984
If you need additional help please tag me in your reply and please like my reply.If my reply provided you with a solution, pleased mark it as a solution ✔️!Best regards,Gonçalo NogueiraCheck my LinkedIn!Check my User Group (pt-PT)!Last Post on CommunityMy website!
HI @Nogueira1306 and thank you for your reply.
I found this video of Shane Young very nice and easy to understand: Click here for the video
This one answered my question. After that I changed it so that an attachment doesn't end up in a document library but in a sharepoint list, but the principle is very similar.
Nevertheless, thank you!
I think this video is even easier - https://youtu.be/yC0W5am6M3Q
How can I do this directly in a canvas app without using Power Automate? Is that possible?I want to copy the attachments from an item in list A to an existing item in a totally different list, call it list B. It does not seem like PowerApps allows for programmatically copying attachments between items in different SharePoint lists. Can someone confirm if this is true?See my response in this other thread.
Aha! I figured it out. If you need to patch attachments from an item in one SharePoint list to an item in a totally different SharePoint list, you must first remove the Attachments.Id parameter from the collection!I used the following code:
ClearCollect(colAttachments,AddColumns(DropColumns(colAttachments,"Id"),"Id","")); ResetForm(AttachmentsForm); Patch(SharePointList,LookUp(SharePointList,ID=ThisItem.ID),AttachmentsForm.Updates);
@HEATFreight
You're the best. This is exactly what I needed!
May I ask how did you do it? Did you just use the URL where normally the files go instead of folder or did you do something else?
Thanks!
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 413
WarrenBelz 355 Most Valuable Professional
timl 315 Super User 2026 Season 1