cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerSäm
Continued Contributor
Continued Contributor

Upload more than one attachment (multiple) - How?

Hello everyone,

 

I have the following request:

I would like to be able to upload attachments in addition to the input in my form and then have them saved in an SP list. Everything works so far!


The thing that should not be is that always only one file is uploaded when I click on the button, although I have selected, for example, 3 files. It is always taken the last only (logical, because I work in the script with the function Last() ). But is there an alternative? How can I define that all files that are selected are uploaded?
See images below)

PowerSm_0-1643968321647.png

 

The files don't have to be renamed, they just have to be uploaded with the name they have. So not only the last added files but all of them in the DataCard.

 

I hope I was able to explain this clearly enough. How can I change it?

 

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
jinivthakkar
Super User
Super User

@PowerSäm please follow steps in the below blog 

 

https://www.spguides.com/powerapps-upload-file-to-sharepoint-document-library/#:~:text=Add%20that%20...

 

--------------------------------------------------------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
jinivthakkar
Super User
Super User

@PowerSäm please follow steps in the below blog 

 

https://www.spguides.com/powerapps-upload-file-to-sharepoint-document-library/#:~:text=Add%20that%20...

 

--------------------------------------------------------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

PowerSäm
Continued Contributor
Continued Contributor

Hi @jinivthakkar and thanks for your help!

The tutorial was excellent. Even though I changed it a bit, it works great for me!

Thank you so much!

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,752)