Dec 19 2019 10:56 PM - edited Dec 20 2019 12:29 PM
I want to force Office files stored in SharePoint to open in the desktop app - NEVER in Office Online apps. I have configured the site and the Document Library but opening in the native app only seems to work when navigating to the file in the DL and clicking it directly. Web Parts seem to always open the web app, as do links copied via the "Share" or "Copy Link" options in the DL.
I've made up quick video to show and tell: https://youtu.be/SvJd2_TLsmw
Note - while I was making the video, I stumbled upon a workaround for when we share links internally via e-mail (and maybe I can use the same workaround when sending files in Teams.)
I also fumble through trying to explain what I've been toying with as far as other workarounds.. the limitations of my technical capabilities will be apparent!
I already looked at several other posts, e.g.: https://techcommunity.microsoft.com/t5/SharePoint/Creating-a-shareable-document-link-that-forces-a-d...
Feb 02 2022 12:42 PM - edited Nov 29 2022 04:07 AM
@wkeber so I am attempting to solve this myself... The only "solution" I have found is using office URI schemes. However, I am very much using quotes around "solution" because, at least in my case, it is not working reliably.
See this link for more info → Office URI Schemes
but basically, it is a bit of code in front of your link that forces certain word functions. For example adding "ms-word:ofe|u|" to the front of a link will force the file that is linked (assuming it's a Word doc) to open in word, and specifically in editing mode. There are options for opening in other office apps or in other modes (such as viewing mode, etc). However, the catch I've found is twofold:
Also, they will only work with "http(s)" links, never "www", etc.
So maybe this will help you, I hope so!
Update: I have been able to get this to work reliably now, had to sort out a few bugs elsewhere in my Power Automate flow.
Aug 31 2022 04:35 AM
Sep 26 2022 12:13 PM
@wkeber Thanks much for sharing this. Its quite helpful! In our case, since the problem stems from SharePoint, we opted to turn on the SharePoint "feature," to "Open Documents in Client Applications by Default." We will direct users to the specific library site, and instruct them to select the filename from there. :)
Nov 28 2022 01:50 PM
Nov 29 2022 04:06 AM
Sep 28 2023 05:19 AM - edited Sep 28 2023 05:26 AM
This is what I do, hope it helps others.
If you want to take the link and put it in an email, and have that email open directly in the the desktop application, you have to edit two parts of the URL.
Using this as an example:
Remove the RED areas:
https://ustsa.sharepoint.com/:x:/r/teams/TestingEnvironment/Test1/Monday%20Meeting%20Notes/2023/MyExample.xlsx?d=wbaa8a4026e3e4a5f8128b28d39e982eb&csf=1&web=1&e=i65YyG
This becomes your new URL that you paste in your email(or whatever):
Sep 28 2023 04:44 PM
Jan 24 2024 04:29 AM
After a lot of poking around , faffing and reading on forums etc I think I've found such a simple way to do it
Open file in app - file > Info> Copy path
Paste this link in to notepad or something similar and just remove ?web=1 from the end of the the link.
Now when you open the link (excluding ?web=1 at the end) it opens in the app and not the browser
Hope this helps others
Feb 13 2024 11:11 AM
Just tried the "Copy path" option and removing the "?web=1" in a word document that points to an Excel spreadsheet saved on our Sharepoint site and it still open it in a web page.