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 Platform Community / Forums / Power Apps / download not working
Power Apps
Answered

download not working

(0) ShareShare
ReportReport
Posted on by 219

Does anyone know why the coding below is not letting me download the file? It instead opens and views the PDF file in another browser. I want to be able to download the file and if possible have the option to save it to the desired location. 

 

Download Icon > OnSelect > Download(First(Gallery.Selected.Attachments).AbsoluteUri)

 

Thanks

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @ntt56k4 You'll have to change the browser settings. Below is how you can do it in Chrome,

     

    CNT_1-1622585479140.png

     

    CNT_2-1622585545516.png

     

    CNT_3-1622585614139.png

     

    Please remember to give a 👍 and accept the solution as it will help others in the future.

  • Verified answer
    ntt56k4 Profile Picture
    219 on at

    ok thanks but this is not practical to tell all users to change their browser setting so what I ended up did was I copy the attachment control from another form, set it as Last(Gallery. Selected.Attachments).Value, change the control to value under Advance>Data>Value,  resize and make the control as view only and transparent so it becomes invisible and I just placed it on top of the download icon. This way when user click on the download icon to download the file, they are actually download it from the attachment control. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard