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

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,659)