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

Download function

I have a PDF document saved in a SP library. On PowerApps I am able to use the download function but it opens as a new page. Is there a way the PDF document could be downloaded to the user's computer instead of showing it online.

5 REPLIES 5
Community Support Team
Community Support Team

Re: Download function

Hi @alex3 ,

 

Do you want to use download function to download the PDF in your sp library?

You can try the following workaround,I test as next:

DataSource:

20190314downloadtoPC.PNG

 

App Test:

Add one buuton, and Button1.OnSelectSmiley Very Happyownload(Gallery2.Selected.'Link to item')

20190314downloadtoPC2.PNG

 

Result Test:

20190314downloadtoPCgif1.gif

20190314result.PNG

 

Hope this could be helpful.

 

Best Regards.

Yumia

 

alex3
Level: Powered On

Re: Download function

@v-yuxima-msft  Are you using the link from the item in Sharepoint? For some reason mine is not dowloading as you showed, instead, it is opening in a new webpage tab.


Community Support Team
Community Support Team

Re: Download function

Hi @alex3 ,

 

I  upload the PDF into library to test from my other folders in my PC.

20190315pdfuploadtolibrary.PNG

Do you mean when you click the download button, there is message shows as next screenshot and it open automatically?

20190315download.PNG 

 

Best Regards.

Yumia

Community Support Team
Community Support Team

Re: Download function

Hi @alex3 ,

 

Do you solve the issue?

Is download works ok now?

 

Best Regards.

Yumia

alex3
Level: Powered On

Re: Download function

@v-yuxima-msft 

I have my file saved also as a PDF in the library, but when I set up the button it opens the pdf in a new tab of he webpage and from there I can download it. It does not give me the option to download it as you show in your image Smiley Sad

 

Any idea why its happening?

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

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!

Users Online
Currently online: 163 members 4,615 guests
Please welcome our newest community members: