Announcements
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
@ntt56k4 You'll have to change the browser settings. Below is how you can do it in Chrome,
Please remember to give a 👍 and accept the solution as it will help others in the future.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 549 Most Valuable Professional
Kalathiya 225 Super User 2026 Season 1
Haque 224