web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Download function

(0) ShareShare
ReportReport
Posted on by 48

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.

Error2.JPG
Categories:
I have the same question (0)
  • v-yuxima-msft Profile Picture
    Microsoft Employee on at

    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.OnSelect:Download(Gallery2.Selected.'Link to item')

    20190314downloadtoPC2.PNG

     

    Result Test:

    20190314downloadtoPCgif1.gif

    20190314result.PNG

     

    Hope this could be helpful.

     

    Best Regards.

    Yumia

     

  • alex3 Profile Picture
    48 on at

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


  • v-yuxima-msft Profile Picture
    Microsoft Employee on at

    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

  • v-yuxima-msft Profile Picture
    Microsoft Employee on at

    Hi @alex3 ,

     

    Do you solve the issue?

    Is download works ok now?

     

    Best Regards.

    Yumia

  • alex3 Profile Picture
    48 on at

    @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 😞

     

    Any idea why its happening?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 408

#3
timl Profile Picture

timl 339 Super User 2026 Season 1

Last 30 days Overall leaderboard