Notifications
Announcements
I am using the Launch function in a button in PowerApps to open/launch an Excel (xlsx) file stored in a SharePoint library. It keeps opening in my desktop Excel, but I would like to force it to launch into Excel online. Is there a way to do this?
Launch("https://mycompany.sharepoint.com/sites/PTS/PTS_Documents/" & FileGallery.Selected.'File name with extension')
This could be happing because of a setting in SharePoint. What happens when you manually open an excel file in SharePoint? Does it open in the App or the Web? If it opens in the App you may need to ask your SharePoint Administrator to change the default setting to open files in the Web version.
---------------------------------------------------Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.
Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTwTwitter: https://twitter.com/assist_365
RegardsDarren Lutchner - 365 Assist
I have already set the library to default to open in the web version -- and it indeed does -- but PowerApps still opens it in desktop Excel.
In that case I think rather than open using Filename and extension you are going to have to use the full SharePoint URL.
Like this:
You are probably going to want to have the docID as a variable that can be changed.
I guess I was making it harder than needed. This works great: Launch(AttachmentGallery.Selected.'Link to item')
Thanks for your suggestions anyway.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268