SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 5 down vote accepted

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.

share|improve this answer
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. – Brandon Michael Hunter Nov 12 '12 at 20:32
You should ask a new question about this. Mobile views are a totally different animal: – Dennis G Nov 12 '12 at 21:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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