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 / Saving multiple input ...
Power Apps
Answered

Saving multiple input filed and multiple attachments in share point list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

 I am not getting the formula to save my data to share point list with multiple input those are outside form field and multiple attachments . I mean   how can I save multiple attachment to share point list. I am not getting ID field also in patch function . I have attached the screen.

 

Thank you in advance ….

PowerAppsIssue1.jpg
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    If you want to add a attachment to a SP list item using Patch function directly, I afraid that there is no way to achieve your needs in PowerApps currently.

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

    As an alternative solution, you could consider take a try to only add the Attachments field within the Edit form. I have made a test on my side, please take a try with the following workaround:

    1\Add an edit form(Form3)

    2\Add a button 

    OnSelect:

     

    Patch(
     'List A',/*'List A' is my data source*/
     First('List A'),/*Modify the first record in the data source*/
     {Title: "1"},
     Form3.Updates
    )

     

    20.gif

    On your side, you should type following formula:

     

     
    Patch(
     'YourSPList',
     'Your specified record',
     {
     Column1:TextInput1.Text,
     Column2:TextInput2.Text,
     Column3:TextInput3.Text,
     ...,
     ColumnN:TextInputN.Text
     },
     EditForm1.Updates
    )

     

    Note: The Editform1 represents the Edit form control within your app, which only display the Attachments field. 

    I think these links will help you a lot:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Need-to-add-Attachment-to-a-PATCH-to-a-Share...

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Saving-attachments-using-Patch/td-p/277984

    Best Rergards,

    Bof

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for the help 🙂

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It worked for me , I have used edit form only for the attachment and for remain input control I have used gallery.  Thank you .. 

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Is your problem solved? Do you still need help?

    If you have found a solution, could you mark it as a solution so that more people can see it.

    Best Regards,

    Bof

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard