Forum Discussion
Links to SPO always open in browser - I need native app by default
- Oct 07, 2022The short answer is, you cannot. Specially since it seems you're trying to link .dmg files. Unless these apps have support for talking to SharePoint directly to edit files, which I'm not aware of them having that you're only option is utilizing OneDrive sync clients and Modifying files direct that way.
Or what we have done in the past with files like this is utilize a tool such as ZeeDrive to create "Network Drives" to the dmg files etc. And others could share file links like you have in your example to locations they have access to in ZeeDrive.
If the app you have can open SharePoint dmg files directly from the open menu some how, then you might be able to finagle something with a URL shortener etc. to allow the different URL formats to tell the OS to open the file, but that's assuming those can open a web link to edit files that way, which not many 3rd party apps do.
Anyway, I know it's not the answer you were hoping for but working with 3rd party file types is a bit tricky vs. office files.
It's OneDrive sync and ZeeDrive for us and works ok.
romanbrun Do not use the "Copy link" option, it will not give you clean URL of document.
Check steps given here to get the direct/clean URL of document: Hyperlinks to PDF files on SharePoint Online
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Thanks. However, independent from where I generate the link, I always get "Type 2" links (as named within Hyperlinks to PDF files on SharePoint Online ).
I mostly use the type of shareing "People who have access".
When I couse "People in my tenant" I get "Type 1" links. But I don't want to share with anyone in my tenant...
- ganeshsanapOct 07, 2022MVP
romanbrun Sorry, I must have provided wrong post URL in my above response.
Try solution given in this thread to get the direct link to document: Copy Link includes extra characters that won't work
It will be in this format:
https://<tenant>.sharepoint.com/sites/<siteName>/<libraryName>/folder/fileName.extensionPlease click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.