?
Solved

SharePoint 2010 with Content Editor and PDF File

Posted on 2015-01-27
2
Medium Priority
?
370 Views
Last Modified: 2015-01-28
I am trying to add two web parts to a page:
Content Editor with the html to display a PDF file from a document library
InfoPath Web Part to Update a related list when the user opens the page and clicks submit.

Problem 1: The PDF File doesn't open. Stuck saying "Initializing".   I will include the snippet I used.
Problem 2:  How to get the file name of the PDF file off of the Content Editor html fragment and use that as a parameter for updating the SharePoint List when the user does a submit from the InfoPath Form with the pages InfoPath web part.

The snippet for the PDF file follow:
<object>
        <embed src="/SiteAssets/PM2_manual.pdf" height="850" width="850"  type="application/pdf"></embed>
</object>
0
Comment
Question by:Howard Bash
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
colly92002 earned 2000 total points
ID: 40575399
Try using a javascript renederer such as http://pdfobject.com/
That is pretty old and possibly not modern standards compliant, so alternatively use one of the many jquery versions:
http://www.jqueryrain.com/2012/09/best-jquery-pdf-viewer-plugin-examples/
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 40575437
Any thoughts about how to get the filename of the PDF file from the containing web part within the info path web part?

Thanks (that 's "part 2" of the question).
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Inserting page numbers in Portable Document Files not only enhances manageability but also makes them look professional. With numbered pages, the file appears more organized and it becomes easier to search for a particular page. The size and the vol…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question