Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 377
  • Last Modified:

SharePoint 2010 content page

How to configure the layout such that when I click the left item, the content of a PDF file will be displayed
Layout2.jpg
0
AXISHK
Asked:
AXISHK
1 Solution
 
Rainer JeschorCommented:
Hi,
there are multiple options.

The "easiest" one would be to create a web part page, add a content editor web part and then inject the HTML source to load the PDF file.

The tricky part of this will be, that to show a PDF in the browser, you are dependent on the client browsers settings (and the browser itself).

Your first try might use this HTML code:
http://social.technet.microsoft.com/wiki/contents/articles/12055.sharepoint-2010-how-to-embed-pdf-and-text-file-contents-into-pages.aspx

Perhaps you have also to adjust the way how SharePoint handles the PDF Mime Type. Instead of setting the whole web app open for any mime type, you might want to use this Powershell script to enable just PDF Mime Types:
http://gallery.technet.microsoft.com/office/Add-new-MIME-type-open-PDF-f6c57c32

HTH
Rainer
0
 
AXISHKAuthor Commented:
Tks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now