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
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,942)