Answered by:
How to open MS word document in browser window?

Question
-
Hi all
Is it somehow acheivable to open a .doc - document in a browser window?
If I link a .pdf - file from the document library in left navigation menu it opens in a browser window. If I do the same with a MS Word docuemnt it opens the Word application, but I want it to open it inside a browser. Can this somehow be done?
Regards
- Edited by Mike Walsh FIN Tuesday, September 23, 2008 4:49 AM Subject corrected
Monday, September 22, 2008 1:21 PM
Answers
-
This might be something that you have already tried...but I thought I would mention it anyway. Have you tried to use the page view web part and link to the document?
Also, does it have to be a word document? Could you try a different approach for the content, like using one of the page layouts or the content editor web part?- Marked as answer by WannabeSharepointGuru Thursday, October 2, 2008 1:32 PM
Thursday, September 25, 2008 1:53 AM
All replies
-
I know about changing the file type to open in browser window from my computer --> tools and so on, but not how to open the word document in the same window with the same design.
Any ideas?
Monday, September 22, 2008 2:05 PM -
You can set the library to open documents in the browser-
From the document library select- Settings > Document Library Settings > General Settings > Advanced Settings > Browser-enabled Documents > Select the "Display as a Web page" option.Monday, September 22, 2008 7:58 PM -
Hi,
If you want open your document inside Browser, you can try the following settings:
The setting that controls this behavior is located in Windows Explorer (not Internet Explorer) on the user's machine.- Open “Windows Explorer”.
- Select Tools -> Folder Options... from the menu.
- Go to the “File Types” tab.
- In the “Registered file types list”, select the file you want to change the setting for (e.g. DOC).
- Click the “Advanced” button to open the Edit File Type dialog.
- There is a checkbox, Browse in same window, where you can specify whether the selected file type should be opened within the browser or launched in its host application when clicked on a web page.
For more information, please refer to: http://support.microsoft.com/?scid=kb;en-us;162059
Xue-Mei Chang- Proposed as answer by C Cortez Wednesday, August 10, 2011 9:06 PM
Wednesday, September 24, 2008 10:18 AMModerator -
To be honest, I've never got this to work. I've tried both Jennifer's and Xue-Mei's solutions. The word documents still open in the Word client. Any ideas why?
jennyfiWednesday, September 24, 2008 11:24 AM -
Can you tell us more about your client? What office version are you running? What browser? What verson of word are you trying to open in the browser?Wednesday, September 24, 2008 12:49 PM
-
Microsoft Office HTML Viewer Service for Sharepoint Services description
This HTML viewer displays Office documents in an HTML format.
Microsoft Office HTML Viewer Service for Sharepoint Services description
This HTML viewer displays Office documents in an HTML format.
This HTML viewer displays Office documents in an HTML format.The Office HTML Viewer server provides support for users who want to view the content of files in Microsoft Windows SharePoint Services document libraries, but do not have Word, Excel, or PowerPoint from Office 97, or a newer release of Office, installed on their local computer.
Requirements:
· Supported Operating Systems: Windows XP
· A minimum of 256 Megabytes of RAM, a 40 gigabyte hard drive, and a network connection to a MicrosoftWindows SharePoint Services server. Additional recommendations are covered in the html viewer whitepaper, included with the package.
Shannon Bray - MCT, MCPD, MCTS, MCITPWednesday, September 24, 2008 3:45 PM -
Jennyfi: Regarding the method Xue-Mei Chang is suggesting. Are you using MS Office 2007 or 2003? You must remember to change the settings for the Docx - file if you are using Office 2007, and DOC - files if you are using Office 2003.
I Know about "Display as Web Page" option from document library, Jennifer Mason, but what I want to do is to open the document inside my masterpage within the frames that are deisgned. If I want to open a .pdf file inside my design, I simply use this method in the link below, but this doen't work for MS Word :-(
http://manish-sharepoint.blogspot.com/2008/05/showing-pdf-document-content-in.html
I am looking for a method in wich I can show the content of a word document in my page layout, and decide the width and height of the word document.
Best regards.- Edited by WannabeSharepointGuru Wednesday, September 24, 2008 5:24 PM
Wednesday, September 24, 2008 5:14 PM -
Gotcha! I see what you are asking now :) Can we take a step back? What is an overall summary of the process you are trying to implement (ie- not in SP Terms, but in functionality)? That might help us think of some alternate solutions for you.....Wednesday, September 24, 2008 7:34 PM
-
Hi Jennifer
Thanks alot for trying to help :)
Basically, I just got the assignment to show a word document inside the page layout, just like you can do with .pdf - files by writing <embed height ="500" src="url from document library" type="application/pdf" width ="650"> in the source editor of content editor web part.
I have "painted" what I want to acheive :-)
http://img135.imageshack.us/my.php?image=worddocko4.jpg
Regards.
Wednesday, September 24, 2008 9:22 PM -
This might be something that you have already tried...but I thought I would mention it anyway. Have you tried to use the page view web part and link to the document?
Also, does it have to be a word document? Could you try a different approach for the content, like using one of the page layouts or the content editor web part?- Marked as answer by WannabeSharepointGuru Thursday, October 2, 2008 1:32 PM
Thursday, September 25, 2008 1:53 AM -
Uncheck this base permission in the permission level edit page
Use Client Integration Features - Use features which launch client applications. Without this permission, users will have to work on documents locally and upload their changes.Thursday, September 25, 2008 5:34 AM -
Thanks alot Jennifer. It works with the page viewer web part :-)
- Edited by WannabeSharepointGuru Thursday, October 2, 2008 1:32 PM
Tuesday, September 30, 2008 3:50 PM -
Hi everyone,
here is an instruction on how to make a registry change to make it work: http://www.wictorwilen.se/Post/Open-linked-Office-documents-in-the-application-instead-of-in-Internet-Explorer.aspx
/WW
http://www.wictorwilen.se/Saturday, December 20, 2008 7:03 AM -
Wednesday, October 13, 2010 5:36 AM
-
I am completely new to .NET and programming using Microsoft (I am a Java developer).
Can you please explain how you put the page viewer web part into the page? Perhaps by posting the code? Until about 2 hours ago I did not know what a web part was.
Also, can you please tell me, when you got this working, could the user edit the word document which appears in the browser?
thanks,
glen
Monday, May 28, 2012 2:50 PM -
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<script>
$(document).ready(function() {
$(".word").fancybox({
'width': 600, // or whatever
'height': 320,
'type': 'iframe'
});
}); // ready
</script>
<a class="word" href="http://docs.google.com/gview?url=http://www.abcd.com/path/document.doc&embedded=true">Welcome to fancybox - document view !!</a>
</body>
</html>Wednesday, October 24, 2012 6:41 AM -
for reference the following HTML code display the doc and pdf file using <embed and google doc viewer.
copy it in HTML file and open it with browser, I tried it with chrome and IE.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<h1>google document view by Link!!</h1>
<br>
<b>
<a class="word" href="http://docs.google.com/gview?url=http://www.snee.com/xml/xslt/sample.doc&embedded=true">embedded document view !!</a>
<br>
<b>
<h1>embedded PDF view !!</h1>
<object><embed height ="500" src="http://www.energy.umich.edu/sites/default/files/pdf-sample.pdf" type="application/pdf" width="650"></object>
<br>
<b>
<h1>google document view for .doc file using Ifram!!</h1>
<iframe src="http://docs.google.com/viewer?url=http://www.snee.com/xml/xslt/sample.doc&embedded=true" width="600" height="780" style="border: none;"></iframe>
<br>
<b>
<h1>google document view for .pdf file using Ifram!!</h1>
<iframe src="http://docs.google.com/viewer?url=http://www.energy.umich.edu/sites/default/files/pdf-sample.pdf&embedded=true" width="600" height="780" style="border: none;"></iframe>
<b>
<b>
</body>
</html>
Wednesday, November 12, 2014 3:58 AM -
Hi!
Yes, it is possible to open a .doc document in a browser window. You can simple do this by converting your document files into HTML format.
Once you have converted .doc in HTML, you can open the output file in browser by clicking on it directly. The .html web pages directly open the the browser when you double click on them.
You can use some automated solution to open Word document in browser. There are many solutions available to do this. If you have multiple files, the automated solution is the best choice.
Tuesday, December 17, 2019 9:25 AM