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
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (1,843)