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

Saving multiple input filed and multiple attachments in share point list

(0) ShareShare
ReportReport
Posted on by

 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)
  • v-bofeng-msft Profile Picture
    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

  • Community Power Platform Member Profile Picture
    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 .. 

  • Community Power Platform Member Profile Picture
    on at

    Thank you for the help 🙂

  • Verified answer
    v-bofeng-msft Profile Picture
    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

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
Kalathiya Profile Picture

Kalathiya 427

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 336 Super User 2025 Season 2

Last 30 days Overall leaderboard