Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

How to download file from sharepoint document and View CSV File in PDF viewer ?


I'm trying to use the downloadn functtion and pass the link item in the Download () fucntion to download the file but seems like the file is always opening in new page, is there any option I can download it from powerapps with Onselect of button. 

Also Is it possible to show the CSV file in PDF viewer? I know it is possible to show docx, xlsx and pdf or png as per one of the experts video by  @RezaDorrani, it seems not working for CSV i tried to turn and twist the formula and also use flow to achieve this but seems like not working for me. 

For download I tried below fucntion- but show Access Denied 


I also tried to pass link as below - but only opens the file in new tab.

Download(ThisItem.'Link to item')

Any help form all experts is helpful and apprciated. 


Super User
Super User

Can you download file from SharePoint directly? Because many organization have this policy that restrict user from downloading anything from SharePoint. Even my company has the same. 


Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,774)