Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

attached image file name to same as combination of PO No. + PDN



Two questions here.


1) Via app, attachments are saved in sharepoint list under respective PDN. If I double click one of the PDN's in sharepoint, I can see a list of attached files with random names. I am wondering if we can download all attachments for all PDNs (or selected PDNs).


2) When attachments are saved, can we name the attachment file name to PDN + PO No.? For example, if we upload two files like attached image, the file names will be like 02-001044_95750 and 02-001044_95750(1). 




Resolver III
Resolver III

you can put it all into a ForAll() loop iterating over Attachentcontrol.Attachments.


If I get some time later I'll try to help write the loop.

Helper I
Helper I

Thanks DylanSimons, I will wait for your input.


Resolver III
Resolver III

Sorry - After researching the first request, it is not possible to download multiple attachments at the same time in PowerApps. You can launch the attachments in different windows using Launch() if that is helpful to you?


For the second request, you need to use Power Automate to rename the files and add them to Sharepoint List. Please see this video:

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,733)