cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DipenShha
Level: Powered On

Download Document from URL in Power apps

Hello  Team,

 

We have created a power app which have fucntionaliy to download the document.

We are using Azure Api app as the data source

We are adding URL in Download function as below.

Download("https://TESTcommercialapproval.azurewebsites.net/DownloadDocument?DocumentPath=/sites/commercialprocessuat/Department/Commercial/CommercialProcess/prdocuments/7800-Mining-01-2018-2033/NFA/Microsoft_Press_ebook_Introducing_Power_BI_PDF_mobile.pdf&fileName=Microsoft_Press_ebook_Introducing_Power_BI_PDF_mobile.pdf")

 

  

This function works awesome in browser.

But in power app through mobile it throus error as 
"The URL passed to the function is not valid".

 

When the URL hits it goes to the api and call the function and return the document stream back,

Can you please help me out for this ?

I am not aware what mobile is accepting to download document as browser is accepting File stream.

Please correct if anything wrong 

 

 

Thanks 

Dipen Shah

1 REPLY 1
Highlighted
alex3
Level: Powered On

Re: Download Document from URL in Power apps

Where you able to solve this? @DipenShha 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Top Kudoed Authors
Users Online
Currently online: 287 members 4,078 guests
Please welcome our newest community members: