I was wondering if there is a known bug or if anyone else is having this issue. I am working with the Attachment control for PowerApps. I have built a custom form which allows users to add attachments to the list item in SharePoint. I don't have any issues with uploading 1 or more images at the same time. The images are attached fine as expected. However, when I try to attach an image AND a document (word or pdf or excel), only 1 attachment comes through instead of all of them.
Here are a couple of screenshots which might help explain.
Uploading 2 images to the form
Both images show up when I open the form again after saving
Both images are showing under attachments for the item
Uploading an image and a document at the same time
Only the document shows up after saving the form and re-opening.
Only the document is shown as attached to the item.
I am not sure if this is a known issue, or if there is a workaround available. So far, I am thinking to just allow images to be uploaded and not documents.
Hi @krishant007 ,
This question has been posted many times before and you are doing nothing wrong - Power Apps Attachments controls simply do not allow uploading of more than one file at a time.
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.
Hi @krishant007 ,
Do you mean that the PDF file and the picture file could not be uploaded at same time?
Based on the needs that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The Screenshot as below:
Please consider rename the GIF file as 'harrypotter.gif', and then attach the GIF file and the PDF file to one Item again, then check if the issue is solved.
Also please check if the size of the GIF file you attached in your app is exceed the default maximum file limit in Attachments -- 10 MB. Please check the following known limits with the Attachments control:
Please consider take a try to change the MaxAttachmentSize property of the Attachments control in your Edit form to following:
and then check if the issue is fixed.
If the issue still exists, please consider re-generate a new app based on your SP List, then check if the same issue also occurs. You could also consider submit an assisted support ticket through the following link:
Thanks @v-xida-msft . I tried to rename the files and attach them again and I got some sporadic behaviour. I attached 2 images and a pdf this time, and the PDF and 1 image were attached, but the other image did not come through.
The behaviour is quite weird. I am trying to do multiple tests to see if there is a pattern.
Hi @krishant007 ,
Have you taken a try re-generating a new canvas app based on your SP List? Same issue still exists?
Currently, I could not reproduce your issue on my side, the Attachments control works well on my side. Please try to re-generating a new canvas app based on your SP List, then check if same issue would occur.
If the issue still exists, please consider submit an assisted support ticket for further help through the following link:
Check out new user group experience and if you are a leader please create your group
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.