Glam Prestige Journal

Bright entertainment trends with youth appeal.

In our web application, we have direct link to word document in SharePoint site. So when user clicks on the hyperlink, I would like to open that in users local desktop word application. But I am unable to achieve it. I have tried other work arounds like, when user clicks on the document in the sharepoint site, able to open in word desktop app. But it is still two clicks for user to reach the word desktop app.

Is there any way if we pass any parameters in the url saying open in local desktop app?

Thanks

2 Answers

Below is the code to open the desktop app directly in users machine. It will ask for confirmation though before opening the document in local.

ms-word:ofe|u|

1

If Word files are stored on one document library, you may go to library settings > advanced settings > Default open behavior for browser-enabled documents, choose **Open in the client application**, this set is only for one library.

enter image description here

If you want to set this feature for all Word files on a SharePoint site, I suggest you go to site settings > site collection features > active "Open Documents in Client Applications by Defualt".

enter image description here

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy