Home

Help forcing file to open in client app

%3CLINGO-SUB%20id%3D%22lingo-sub-1410624%22%20slang%3D%22en-US%22%3EHelp%20forcing%20file%20to%20open%20in%20client%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1410624%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20having%20trouble%20forcing%20an%20Excel%20document%20to%20open%20in%20the%20desktop%20application.%20This%20is%20a%20spreadsheet%20that%20various%20people%20across%20the%20organization%20will%20need%20to%20update%20on%20a%20regular%20basis.%20Unfortunately%2C%20Excel%20Online%20struggles%20to%20open%20the%20file%2C%20probably%20because%20of%20a%20high%20number%20of%20formulas.%26nbsp%3B%20To%20get%20around%20this%2C%20I%20want%20the%20file%20to%20open%20in%20Excel%20desktop%20by%20default.%20Both%20the%20site%20and%20the%20document%20library%20are%20set%20to%20open%20in%20the%20client%20application%20by%20default%20but%20it%20is%20still%20opening%20in%20Excel%20Online.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20researching%20this%20issue%2C%20I%20came%20across%20suggestions%20to%20use%26nbsp%3Bms-excel%3Aofe%7Cu%7C.%20But%20I%20can't%20get%20that%20to%20work%2C%20possibly%20because%20I%20don't%20understand%20how%20to%20do%20it.%20I%20want%20to%20place%20a%20link%20to%20the%20spreadsheet%20in%20the%20left-hand%20navigation.%20If%20I%20open%20the%20file%20in%20Excel%2C%20go%20to%20Info%2C%20and%20use%20the%20Copy%20Path%20function%2C%20it%20gives%20me%20the%20following%20URL%3A%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsitename.sharepoint.com%2Fsites%2FFolderName%2FOther%2520Docs%2FSpendingTracker.xlsx%3Fweb%3D1%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsitename.sharepoint.com%2Fsites%2FFolderName%2FOther%2520Docs%2FSpendingTracker.xlsx%3Fweb%3D1%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20in%20the%20site%20navigation%2C%20am%20I%20supposed%20to%20use%20the%20following%20for%20the%20link%20address%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ems-excel%3Aofe%7Cu%7C%3CA%20href%3D%22https%3A%2F%2Fsitename.sharepoint.com%2Fsites%2FFolderName%2FOther%2520Docs%2FSpendingTracker.xlsx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsitename.sharepoint.com%2Fsites%2FFolderName%2FOther%2520Docs%2FSpendingTracker.xlsx%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBecause%20when%20I%20do%20that%2C%20I%20can't%20save%20the%20changes%20to%20the%20navigation.%20It%20doesn't%20give%20me%20an%20error.%20It%20just%20does%20nothing%20when%20I%20click%20on%20Save.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1410624%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1411652%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20forcing%20file%20to%20open%20in%20client%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1411652%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F419074%22%20target%3D%22_blank%22%3E%400123456789%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20your%20file%20is%20in%20SharePoint%20Online%2C%20there%20are%20a%20couple%20of%20settings%20you%20need%20to%20check.%20You%20might%20need%20an%20administrator%20to%20do%20this%20as%20you%20may%20not%20have%20permissions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20first%20setting%20is%20on%20the%20document%20library%20itself.%20If%20you%20go%20to%20Library%20Settings%20%26gt%3B%20Advanced%20Settings%2C%20there's%20an%20option%20to%20tell%20the%20library%20to%20open%20documents%20in%20the%20Client%20Application%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22library%20client.PNG%22%20style%3D%22width%3A%20557px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F193893i7886E386D110CDEC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22library%20client.PNG%22%20alt%3D%22library%20client.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20this%20usually%20does%20not%20do%20the%20trick%20in%20SharePoint%20Online%2C%20so%20make%20sure%20you%2Fyour%20admin%20also%20goes%20to%20the%20%3CSTRONG%3ESite%20Collection%20Settings%3C%2FSTRONG%3E%20(OF%20THE%20PARENT%20SITE)%20and%20checks%20for%20%22Open%20Documents%20in%20Client%20Application%20by%20Default%22%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22open%20clients.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F193894iEB60A04F565EA43A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22open%20clients.PNG%22%20alt%3D%22open%20clients.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFind%20that%20setting%20and%20make%20sure%20it%20is%20ACTIVE.%20To%20get%20to%20these%20settings%2C%20add%20%3CSTRONG%3E%2F_layouts%2F15%2FManageFeatures.aspx%3FScope%3DSite%3C%2FSTRONG%3E%20to%20the%20end%20of%20your%20site%20URL.%20Like%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehttps%3A%2F%2Fyour-site-here%2F%3CFONT%20color%3D%22%23FF0000%22%3E_layouts%2F15%2FManageFeatures.aspx%3FScope%3DSite%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EI%20forgot%20to%20specify%20that%20this%20has%20to%20be%20set%20at%20the%20parent%2Ftop%20site%20level.%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EAlso%2C%20you%20could%20possibly%20work%20around%20it%20by%20instructing%20people%20to%20choose%20Open%20%26gt%3B%20Open%20in%20app%20from%20the%20ellipsis%20menu%20on%20the%20document%3A%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22open%20in%20app.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F193898iC2E7D58878235E86%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22open%20in%20app.png%22%20alt%3D%22open%20in%20app.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EFYI%3A%20none%20of%20the%20settings%20seem%20to%20have%20any%20effect%20on%20PDFs.%20If%20there's%20a%20way%20to%20force%20PDFs%20(stored%20on%20SharePoint)%20to%20open%20in%20a%20client%20app%20rather%20than%20the%20browser%2C%20I%20can't%20find%20it!%20Local%20download%20appears%20to%20be%20the%20only%20option%20there.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EHope%20this%20helps!%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I'm having trouble forcing an Excel document to open in the desktop application. This is a spreadsheet that various people across the organization will need to update on a regular basis. Unfortunately, Excel Online struggles to open the file, probably because of a high number of formulas.  To get around this, I want the file to open in Excel desktop by default. Both the site and the document library are set to open in the client application by default but it is still opening in Excel Online. 

 

In researching this issue, I came across suggestions to use ms-excel:ofe|u|. But I can't get that to work, possibly because I don't understand how to do it. I want to place a link to the spreadsheet in the left-hand navigation. If I open the file in Excel, go to Info, and use the Copy Path function, it gives me the following URL: 

https://sitename.sharepoint.com/sites/FolderName/Other%20Docs/SpendingTracker.xlsx?web=1

 

So in the site navigation, am I supposed to use the following for the link address:

 

ms-excel:ofe|u|https://sitename.sharepoint.com/sites/FolderName/Other%20Docs/SpendingTracker.xlsx

 

Because when I do that, I can't save the changes to the navigation. It doesn't give me an error. It just does nothing when I click on Save.  

 

1 Reply
Highlighted

@0123456789 

 

I don't believe there is any way to construct a URL that opens in the client app. I found this response from Microsoft:

Based on our test, we can set the way we open our files stored in SharePoint libraries. We can set it via activating the site collection setting "Open Documents in Client Applications by Default" and we can also change settings in library settings>Advanced Settings>Opening Documents in the Browser to Open in the client application.

Direct links to files will let the people have related permissions open files via Office online apps directly.

It is not feasible to change the way people open files by clicking the direct links. If you have any concern about that, I’d like to suggest you create a new UserVoice to improve our products better for you and others. Appreciate your understanding.

 

 

But if your users can access the library location directly, there are a couple of settings you need to confirm. You might need an administrator to do this.

 

The first setting is on the document library itself. If you go to Library Settings > Advanced Settings, there's an option to tell the library to open documents in the Client Application:

 

library client.PNG

 

However, this usually does not do the trick in SharePoint Online, so make sure you/your admin also goes to the Site Collection Settings (OF THE PARENT SITE) and checks for "Open Documents in Client Application by Default":

 

open clients.PNG

 

Find that setting and make sure it is ACTIVE. To get to these settings, add /_layouts/15/ManageFeatures.aspx?Scope=Site to the end of your site URL. Like this:

 

https://your-site-here/_layouts/15/ManageFeatures.aspx?Scope=Site

 

I forgot to specify that this has to be set at the parent/top site level. 

 

Also, you could possibly work around it by instructing people to choose Open > Open in app from the ellipsis menu on the document:

 

open in app.png

 

FYI: none of the settings seem to have any effect on PDFs. If there's a way to force PDFs (stored on SharePoint) to open in a client app rather than the browser, I can't find it! Local download appears to be the only option there.

 

Hope this helps!