We've added some Word and Excel documents, as well as PDFs to the default Documents library in a SharePoint 2010 publishing site. However, SharePoint wants to open the Excel files in the built-in viewer, which isn't what we want; we want it to simply point to the file. It generates this link in the document library:

http://vmdev95/lrc/_layouts/xlviewer.aspx?id=/lrc/Documents/hiring/Auto Enroll Benefits Form.xlsx&Source=http://vmdev95/lrc/Documents/Forms/AllItems.aspx?RootFolder%3D%252Flrc%252FDocuments%252Fhiring%26FolderCTID%3D0x01200067ED44E4B91D0B45883619F70B0513CE%26View%3D{5E32441D-302D-47EF-83C9-00F140B1DBAA}&DefaultItemOpen=1

We want just this:

/lrc/Documents/hiring/Auto Enroll Benefits Form.xlsx

How do you disable XLViewer feature? Thanks.

1 Answer 1


Check the advanced settings in the document library.

There you have the option to open files in the browser or in the client. You most probably have Browser selected, go for Client here (or Server Default if the default is client).

Another setting which you might want to look at is under General Settings of the Web Application: You can choose to have Permissive or Strict file handling.

  • Is there a way to do this for the mobile view? I have a customer that wants the document to be downloaded and open to their device instead of viewing the document in excel services. This work for documents that have a file extension of .xls. Nov 12, 2012 at 20:32
  • You should ask a new question about this. Mobile views are a totally different animal: technet.microsoft.com/en-us/library/ff393832.aspx
    – Dennis G
    Nov 12, 2012 at 21:11
  • What to do if I've set Client as default, but excel files still are opening in XLViewer?
    – Alex
    Nov 1, 2017 at 10:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.