Tuesday, October 7, 2008

How To: Embed PowerPoint slidedeck into SharePoint page

Do the following steps:

- Open a PowerPoint File
- Save As > Other Formats > Save as type Single File Web Page
- Upload the .mht file to a document library
- Add a Page Viewer WebPart to a Page
- Point the Page Viewer WebPart URL to the .mht file of that doc lib

Result:

21 comments:

Anonymous said...

Where did you get my slide deck? :-)

Komakino said...

It was the only slidedeck I had on my pc :)

Unknown said...

Very fine......

Anonymous said...

That's pretty fantastic.

Can the presentation be configured (my test defaults to show the notes and outline normally and the slides themselves are tiny).

Anonymous said...

The page viewer web part does not like the mhtml: in front of the http:// in the URL. So it did not work for me :(

Anonymous said...

You must remove the mhtml: prefix from the URL. If you replace the htm suffix with mht, this will work.

To make the slides larger, you can configure the web part to have a fixed vertical display, which will expand the Y-axis viewable area.

Anonymous said...

Can you link to the page and have it automatically skip to a specific slide?

Unknown said...

I am having the same issue with the mhtml: prefix. I can get the page viewer to allow me to embed the mht, but I am attempting to use the fullscreen.htm#slide0001.htm method to make the page viewer go to specific slides automatically.

Anonymous said...

My company is switching from an older free version of MOSS to MOSS2010 and they've set up a test site for me - unfortunately, the .mht web parts that worked fine on the old MOSS aren't working on MOSS 2010. Instead of showing the PowerPoint slide, a dialog box pops up asking whether I want to open the .mht file. Any advice?

Anonymous said...

saved my hide, thanks!

Anonymous said...

Hi! Hope I will get an answer. :)

I've tried this, but it only works with SharePoint 2007. In 2010 the presentation doesn't appear.

Any suggestions? Thanks in advance!

Anonymous said...

Information on embedding a PowerPoint Deck in SharePoint 2010 here: Embedding a PowerPoint Deck on SharePoint 2010

Unknown said...

Thanks - this worked perfectly! I have one followup Q - is there a way to get this to open with the slide Outline pane to the left defaulted to hidden vs. shown?

Unknown said...

This worked perfectly - thanks!
I have one followup - is there a way to get the deck to open with the Outline pane on the left defaulted to hidden mode?

Wayne said...

I would like to echo the same question as Michael. Is it possible to change the default so that the Outline pane is closed or minimized?

Joe said...

@Michael & @Wayne
Open your mht file and make these changes.

1)frameset cols=3D"25%,*" onload=3D"Load()" id=3DPPTHorizAdjust framespacin=
g=3D1 frameborder=3D1

Change the "25%" to "100%"

2)frame src=3Doutline.htm title=3D"Outline" name=3DPPTOtl

Delete this line

I left out the <'s and >'s because it wouldn't let me post.
Also not sure if your lines will look exactly the same or not but if you do a little searching you should find somthing similar. Try searching for "Outline"

Anonymous said...

Joe,

Where did you access the code to get rid of the outline? Clicking on the file just opens it in internet explorer.

Joe said...

Anonymous...

It opens in Internet Explorer because thats the default program to open the .mht file.

So to view the code you need to right click the file and go to "Open With". Here it will show you a list of default programs that can open the file.

Your going to want to click "Choose Program.." then select a different program to open the file like "Notepad" or some other text editor program.

If you haven't done this before it might be a bit overwhelming because there is about 20,000 lines in the file (at least in mine there was).

I found the two lines I talked about before at line number "18009" and "18011".

Let me know if you need any more help. You could also email me the .mht and I can look at it for you.

Joe said...

Anonymous...

It opens in Internet Explorer because thats the default program to open the .mht file.

So to view the code you need to right click the file and go to "Open With". Here it will show you a list of default programs that can open the file.

Your going to want to click "Choose Program.." then select a different program to open the file like "Notepad" or some other text editor program.

If you haven't done this before it might be a bit overwhelming because there is about 20,000 lines in the file (at least in mine there was).

I found the two lines I talked about before at line number "18009" and "18011".

Let me know if you need any more help. You could also email me the .mht and I can look at it for you.

Sísifo said...

Hi, it worked out perfectly in SP2010 but... i get a lot of underlined texts! (that were not underlined in the original documen). Do you know any way i can fix this? thanks a lot

L said...

I am having trouble to embedd this link in page viewer webpart. i have a link like this mhtml:http://abc.com/sites/somesite/projects/mainProj/Shared Documents/PPT-SingleWebPage.mht!PPT-SingleWebPage_files/slide0001.htm now removing mhtml and changing .htm into mht is not working. if you notice .mht is somewhere middle of the link already. please advice.