cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LeeJBS
Advocate I
Advocate I

UI Flows - Downloading files

Hi All. 

I have built a UI flow to gather data from a vendors legacy portal. 

As you can see below is just a basic table which I have being pulled into a Sharepoint list without issue. 

In the last column is a icon of a Zip file that contains the billing data. In the UI flow it just downloads to the default downloads folder.

 

LeeJBS_0-1594085691863.png 

Javascript for the download of the file:

<a onclick="javascript&colon;App.downloadBill('bcad785cbfecasdf11ea9a2ddsserfsa9762b3fff56','5E333196E5135SS8B223AE5CED4CCA6984540FDECF08AEA534BA86C346280E5385AD45fDD9E19069289F9BC8F5A5124F8D2C82C9E99CA5','BillsViewBillsUICompositeMediator','A123456789','A123456789','0.00');" href="javascript&colon;void(0);"><img width="16px" height="16px" src="com.salmat.viewpay.MainModule/images/iconWinZip.png"></a>

 

What I cant work out at the moment is :

  1. How can I not use the default save to downloads and have it save to a SharePoint library. Or do I need to create a further flow that gets the downloaded file from downloads and then move to SharePoint list?
  2. How can I get it to skip IF already downloaded (as part of previous flows, and in SharePoint list). I cant use the Last Download Date column as others jump in this portal and download files so it could cause a issue there. It will need to look at the SharePoint list i think.

Has anyone got some ideas? 

Thanks in advance

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @LeeJBS,

 

After you download the zip file through UI Flow, you could store these files into a folder of OneDrive for business, then create a Flow to extract achieve to the folder when a file is created in the folder, then create new files in the SharePoint folder:

Annotation 2020-07-07 152606.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-litu-msft
Community Support
Community Support

Hi @LeeJBS,

 

After you download the zip file through UI Flow, you could store these files into a folder of OneDrive for business, then create a Flow to extract achieve to the folder when a file is created in the folder, then create new files in the SharePoint folder:

Annotation 2020-07-07 152606.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I have the same issue. The part that isn't covered in the answer is how to automate getting the file from 'downloads' into a OneDrive folder. Is that possible?

Personally I made a Downloads folder in my OneDrive and made that my default download location in Chrome. 

Helpful resources

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

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,606)