Announcements
Hi,
Can I download excel file from canvas app using button.
@Mike8
@WarrenBelz
@RandyHayes
@Pstork1
@v-xiaochen-msft
@timl
@BCLS776
@Nogueira1306
@v-bofeng-msft
@gabibalaban
Hi @Gelos
Copy the Direct link to the file and use the Download function
This works
Download("https://ltiblogs.sharepoint.com/sites/Development/Shared%20Documents/TestBook.xlsx")
Don't work
Download("https://ltiblogs.sharepoint.com/:x:/s/Development/ES42Oswb7ShBj6ZO5uWDgn8BhDjaD65rbP4A4QDYqPXAcw?e=z...")
Thanks for replay but I am using cds table
I don't think we can download the file directly from CDS. PowerApps expects a direct URL. We may need to have Azure function or Power Automate reads the file( base 64) and store it somewhere to pull it from PowerApps.
In General, Storing documents within CDS is expensive. Based on your requirement, you may need to rethink storing the document in Sharepoint or blog. So that you can get a direct URL that can be used in PowerApps.
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 381 Super User 2026 Season 2
Mohsin Ali 340
WarrenBelz 187 Most Valuable Professional