I am wanting to add attachments to a SharePoint list from my Power App. I have watched a few videos and none of them really fit.
One shows copying the attachment control from a form onto the canvas, but I haven't been able to even get past that part.
Ideally I want to use the add attachment as it suits the uploads I need, sometimes it can be an image, or pdf other times it may come from the camera control.
Hi guy's
Thanks again for the help. How would I adjust the formula to update the SP item as opposed to creating a new Item?
Thank you, When I paused the video it was hard to decipher they were curly brackets. I have updated it an I have the attachments. Thanks again guys for the help
Hi @nshaw75,
Modify as below:
the form3.Updates needs to be out side of the curly braces, look at the video again and set the braces correctly, then it should work
Thanks guys @v-qiaqi-msft @mmbr1606
I have followed the advice and the video. The OnSelect function of my button is as follows
hey @nshaw75
this is the easiest, best and fastest way to do it if u ask me:
PowerApps - Patch attachment to SharePoint list (youtube.com)
Let me know if my answer helped solving your issue.
If it did please accept as solution and give it a thumbs up so we can help others in the community.
Greetings
Hi @nshaw75,
I think you just need an Attachment control from a form, and a save button.
Set the OnSelect property of save button as:
Patch ( 'Source Data',Defaults('Source Data') , Form1_1 . Updates )