Within the modern SharePoint Online, is there a way to enter a link within a site page to open the document in the client application?
I've been able to set up the links so that they download the files, but the behavior I'm looking to get to is to open the file from SharePoint. This is to make sure edits are shared, and I'd like to force the file to open in the client application so I reduce the number of clicks and make sure macros will be enabled when the user starts editing.
In the document library, I've set it so it defaults to the client application, but in making links in a web page I can't seem to find a solution.
Using the Quick Links web part, regardless of what I enter for the URL it converts and ends with a parameter "?web=1" even if I add "?web=0". In other pages, I can use "?download=1" so I'm unsure why this behavior is being forced. This makes it so that direct links to the files always opens in the web browser.
I've tried entering the URL with the Office URI schema "ms-excel:ofe|u|" and this URL modification gets rejected, regardless of which web part I use; Link, Hero Content, Button, Quick Links, Call to Action, etc. There's an escapable error: "Add http://, https://, or mailto: to the beginning of the link and try again."
Has anyone found a solution to editing SharePoint Online web pages to link directly to opening a file in the client app?
Thank you for your time and help!