I need to display three documents as html in one page. Also, these html page should always show the latest version of documents. The page should work on all browsers.


I tried to convert these document to MHTML format using Word Automation Services in Event Receiver (I used ItemUpdated and ItemAdded events).

I'm going to implement feature with application page and show created mhtml pages in frames.

Is this a good solution? Are there better solution?

2 Answers 2


Have you considered using the Office Web Apps to view the documents? Then you wouldnt need to convert them and potentially lose fidelity.

You can embed the word web app in an IFrame and use the WOPIFrame URL to display the document.

See here for an example of getting the URL to WOPIFrame.aspx that you will need: https://stackoverflow.com/questions/17026281/how-to-construct-get-office-web-app-url-for-sharepoint-documents


Use Page Viewer Web Part and then modify webpart's properties and add link to document you want to display.

Here's detailed instructions

How to Insert a Web Page onto a Site Using the Page Viewer Web Part for SharePoint 2013

  • could you please help me with format of the link to a file? I tried to use link to a file in sharepoint: http://sp2013-dev-01:1313/Documents/test_document.docx and such link to a file: file://sp2013-dev-01:1313/Documents/test_document.docx. But they doesn't work. And I receive in Page Viewer Tool Pane such message: "The path to the folder is not valid for the Link property. Check the spelling and syntax, and then type a valid path.". How can I use a document from a document library? Commented Sep 14, 2013 at 10:27
  • For testing, I created empty Web Site with a virtual folder in which was my docx file (goo.gl/7T78A6). Then I inserted address of the file: Sharepoint admitted such address. But now in Page Viewer web Part on the page I see only empty space. No any content from my docx file. What could be the problem? Commented Sep 14, 2013 at 11:02
  • In which browser are you testing it and did you tried "test link" after populating link property ? Commented Sep 14, 2013 at 11:11
  • Just tried "test link" with link It can't find the file. I use IE and Chrome. Commented Sep 14, 2013 at 11:16
  • Webpart will only work on IE, you will need to find exact document's URL you can do so by navigating to document library and check the properties of document. Commented Sep 14, 2013 at 12:03

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.