cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dogbural
Helper I
Helper I

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

Hi, 

 

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). 

 

Regards,

MK

3 REPLIES 3
DylanSimons
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.

dogbural
Helper I
Helper I

Thanks DylanSimons, I will wait for your input.

 

DylanSimons
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: https://www.youtube.com/watch?v=Pa-pYEkLH-U

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

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