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 / Multiple Attachment Co...
Power Apps
Unanswered

Multiple Attachment Controls Form

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello everyone,

I wanted to create a similar form as the one that Mr. @RezaDorrani presents in one of his videos: https://www.youtube.com/watch?v=hJQjGE-oUpM . So I wanted to leverage different attachment controls that end up in the same SharePoint list through SubmitForm() action. And this is what it looks like: MicrosoftTeams-image.png

 The Submission worked perfectly and I was able to give the idea to my users that they were able to submit files in different windows while still having them all grouped up in one Sharepoint list item. 

 

The problem and the question that I have is what if I want them to also edit this item with the attachments that they have submitted?
The app also has a gallery that fetches the records from my list and filters it by user.() When they choose the record they are redirected to the Form screen that is now on EditMode and not on NewMode and there they can see the attachments that they submitted for the specific item. So far so good, but when I am testing it and I make a change on the attachments (delete them, replace them etc.) and then hit the Submit button again, it won't work. Meaning the SubmitForm wont change the records neither in my App or in the Sharepoint list as I would expect it to (it doesn't override the existing record). 

Any ideas why? And how I could resolve this? Because other than that the solution works perfectly for what I need.

Thank you for your time and thanks to Mr. Dorani for his video, I suggest you all watch it as it is very interesting.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,399 Most Valuable Professional on at

    Hi @Anonymous ,

    Without going into the customisation you have done on the Attachment function in your new form, if you want existing attachments to be able to be deleted (or more added), you need a standard, unaltered attachment control. This should not be difficult - just add a second item and make it visible in Edit Mode and hidden in New mode and the reverse for the modified item.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @WarrenBelz , thank you for your reply and I am sorry for the late response. The truth is I had abandoned this idea when I saw it did not work the way I wanted it to. 
    In the example that I presented above copied from mr. @RezaDorrani  I am leveraging collections. So for every attachment control there is a button that is selected (hidden) on the drop file etc. to create the collection as it is supposed to be, and on the final attachment control are the consolidated attachments. The button "Submit Form" is submitting the form into my Sharepoint List (my data source). 

    What I want is actually much simpler but I still dont know how to achieve it.

    I want to have multiple attachment controls that my users will be able to upload different kind of attachments and these attachments after the submission of the form to be consolidated into my Sharepoint List item in the default column called attachments. Similarly when they edit that same item leveraging a gallery screen I want them to be able to delete attachments that they previously submitted that are not placed in that Sharepoint list column or even override them. 
    I managed to do the first part but not the second one, at least in my case nothing is happening when I edit my attachment controls (adding new files, deleting previous ones etc.) and then use the Submit form button. 

    This is what I am trying to figure out, and I have tried both with collections like mr. Dorrani did and without collections - meaning simple attachment controls all with the same Sharepoint list item. 

     

    I am now trying to pick up this project again as it seems the only way to achieve what we want in my team's project and any help regarding to this is really appreciated. 

     

    Thank you again for the response and your time!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello to all again. 

     

    Still haven't managed to solve this. If anyone knows a way to create multiple attachments boxes into a Form and then submit it and create a Sharepoint list item with all these attachments together, it would be great. The idea is even if these attachments end up in the attachment column of a Sharepoint list at least I can give my App Users the impression that they are submitting different files (that's why I need the multiple attachment boxes) so I can have one for Excel, one for PDF one for PPT for example. 

    Thank you.

  • VikrantG Profile Picture
    17 on at

    Same issue buddy 😞

    Do let me know once you find out how to do so.

    Any and all help will be appreciated, thank you.

  • Teddy1 Profile Picture
    92 on at

    Same issue here.

    I would appreciate it too. I have posted the exact same issue too:

    Using Multiple Attachment Controls to Attach files to a SharePoint List Item 

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

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard