Sunday, June 12, 2011

Opening Doc Files in Browser from SharePoint Document Library – SP2007 Troubleshooting

Opening Doc Files in Browser from SharePoint Document Library

When you click on a file in a SharePoint document library, it launches the file. Most often you'll be prompted as to what you want to do with the file (Open, Save, etc.). In some cases (like Office documents) it will open the file but the program that is doing the client side work on it, renders it in the browser. How many times have you clicked on a Word document and have it launch in the browser so you're looking at IE with an embedded Word control rendering your document. Half the time the user doesn't know what happened and when they close the browser the site is gone when really they wanted to hit the Back button to get back to their doclib. How frustrating!!!!!.

Unfortunately the answer isn't an easy one, at least if you have a large deployment of users you need this to happen with. It involves setting up a property with the associated file. The setting is in the web browser, not SharePoint. The technique varies based on different environments (version of browser, version of OS, version of Office) so there's no golden rule but the default is generally to browse in the same window (at least it has been for me on all the setups I've seen) so it will open up inside of the IE when you're accessing it through your browser. This has the effect of embedding the Microsoft Word control in the browser and hence the problem. Thus, I would share what steps I followed in reconfiguring the file association:

  1. Go to Windows Explorer (not Internet Explorer) (or My Computer)
  2. Under the Tools menu choose Folder Options
  3. Click on the File Types tab
  4. Find the file extension you want to modify (say DOC for Microsoft Word Document)
  5. Click on the Advanced Button
  6. In the Edit File Type deselect "Browse in same window" for the Edit or Open actions (or all of them if you prefer)

Here's a screen shot of what you should see:

image

This will force it to launch a new (Word) window no matter where the source of the document comes from (say a doclib in a browser). I'm pretty sure there's a blog out on this that someone wrote but can't find it so hence this posting (feel free to link to it in the comments if someone knows of one).

If this helps...... then please share......

HaPpY CoDiNg... (Aurum)

No comments:

Post a Comment