Forum Discussion
Modern SharePoint Search Results Open with Application
Good Day,
Is there a way to force search results to open with the locally installed application instead of always opening with the online version? This use to work great in the classic experience when it was changed under Search -> Preferences -> Opening Documents in the Browser (https://<tenantname>.sharepoint.com/search/_layouts/15/EditUserPref.aspx)
I also made sure the Site Collection Feature -> Open Documents in Client Application by Default -> Activated
I also forced Open in the client application in the advanced settings on all document libraries - Opening Documents in the browser
3 Replies
- Martin-CoupalSteel Contributor
zniper I think, for now, the easiest way to do this is to use the PNP Modern Search Web Parts. https://microsoft-search.github.io/pnp-modern-search/
You can control the url link results. Using the file path should open directly in the client apps.
- MVCuserBrass Contributor
Hi Martin-Coupal .
Do you know how to get the file on a PNP search result to open on the desktop app?
Because i've been trying and it always opens within the search page (even thought the site settings are to always open on desktop app)
I also tried adding web=0, and in that case, the file does not open on the browser but it downloads.Also, does it work for Adobe files as well or only MS?
Thank you
- Mary_Sue_KernCopper Contributor
zniperdid you get an answer? I was able to update until recently