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 / Patch item with attach...
Power Apps
Unanswered

Patch item with attachments to sharepoint list without using a form

(0) ShareShare
ReportReport
Posted on by 22

Hallo,

 

I want to patch a item with attachments from PowerApps to sharepoint list.

I don't use a form because the user has diffrent ways to add information(They have the option to use dropdown or enter it as text).

Depending on what is selected or filled in, the appropriate if branch is entered and the appropriate patch is executed.

Therefore I did not use forms.

Now I have extracted an attachment field from a form and used it to show the taken images(The images are added through a collection) , which i want to patch together with the other information as an item in the sharepointlist.

My question is now, how can I add this images as an attachment? I know you can use a flow, because it seems that adding attachments directly without forms is not possible , but i don't know how best to implement it in my patch.

 

Thanks

Categories:
I have the same question (0)
  • C-Papa Profile Picture
    1,836 on at

    Hi, i think this can only be done using a flow. As a work around, create a form but only add the attachment and title card. change the default of the title to what ever the title is in the patch function and change it's visible property to false.  

     

    This leaves you with the attachment control in a form.

     

    change your patch function by wrapping it in a set() e.g. Set(Var_My_Patch, Patch([Your Patch Function]))

     

    then after you can patch the attachments by using Patch([DataSource],{ID:Var_My_Patch.ID},Form1.Updates) where Form1 is your form name. this should patch the attachments to the item created / modified in the patch

  • MaxF Profile Picture
    22 on at

    @C-Papa

    Yes this is is a nice idea. I did it like you said.

    The problem is, i can update the title, the name or everything else but the attachment does not want to add(respectively will not be displayed in sharepoint). It doesn't matter if it is the images from the collection that I have entered as an item in the attachment field or a .txt file uploaded from my local file system.

     

    Edit: It works for an image from my lokal file system. But the images of my collection are still not added.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard