I have a excel file in SharePoint document library. I want users to download the file, modify the updates and send as an email from their mail box.
When use the download function, the excel sheet directly opening with excel online and allows to edit.
Instead I just need the users to download the file on their local machine, and then edit. I am testing this with Edge browser.
can any one please help ?
You can use Download function to achieve your needs.
Also refer to this thread with similar requirement: https://powerusers.microsoft.com/t5/Building-Power-Apps/PowerApps-Download-file-button/td-p/8491
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @venka91 ,
Which Link are you providing inside the Download function? I assume you got the link from the following. This shared link is used for people to edit online:
To download an Excel file from SP document library, you could set the OnSelect property of the download button as below(replace your own data with the underlined positions):
For example, below is the formula I used in my download button:
Hi there, no i am not able to get the correct link to work .
Example : my list stored in the below location.
How should I be giving the URL now ? what ever i tried it says file not found.
From the URL you provided, it seems that this is a subsite under the default site collection. The formula I provided in my last reply applies to the custom site collection. For default site collection, you need to make a small change(just remove "/sites").
So this time, try below formula(remember to change the name of your file):
Hi @venka91 ,
How are things going? Have you solved your issue?
If my solution is helpful to you, please mark my answer. This will benefit other community members who stuck with the same question.
Hi @venka91 ,
So strange, I have tested in my site and everything works well.
Is "IT" your site name? Please provide the formula you used in Download().
You can compare my formula with yours:
My site name is "testericm", my library name is "library1":
I use this formula(if your directly use below URL in browser, you can also download the Excel file):
This worked for me! It was a bit tricky to align everything, but at the end the button triggers a download rather than opening the file.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Join us for the next call on June 15, 2022 at 8am PDT.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.