Tuesday, January 15, 2013

How do I display a PowerPoint slides in SharePoint?


You must have Full Control rights for the SharePoint site you want to embed the PowerPoint in to perform these actions.Start with your completed PowerPoint and save it to a familiar location on your computer as a file type Web Page.

Depending on the size of your PowerPoint, it may take a while to save. It will also create a folder with the name of the PowerPoint and a lot of files in the location where you saved it. The PowerPoint is now in HTML format.
You try to save a presentation as a webpage in Microsoft PowerPoint 2010. However, the Save as type option Web Page (*.htm;*.html) or Single File Web Page (*.mht;*.mhtml) is not available in the Save As dialog box.
WORKAROUND(Only for PowerPoint 2010)
You can save presentations as an .htm file or as a .mht file through the PowerPoint object model. This provides compatibility with older add-ins and macros.
To save a file as a webpage (*.htm;*.html) to the desktop by using the ppSaveAsHTML argument for the *.htm file format, without embedding true type fonts (msoFalse), follow these steps:
1.    Open the presentation that you want to export to HTML.
2.    Press ALT+F11.
3.    Press CTRL+G.
4.    In the Immediate window type the following:
ActivePresentation.SaveAs "<Drive>:\users\<username>\desktop\<filename>.htm", ppSaveAsHTML, msoFalse
5.    Press ENTER.
Note To save as a Single File Web Page (*.mht;*.mhtml) file format, replace html at the end of the file name with mht, and replace ppSaveAsHTML with ppSaveAsWebArchive.
Within SharePoint, navigate to a document library where you can store the new HTML based PowerPoint. Click Upload Multiple Documents.
Navigate to the location where you saved the HTML version of the PowerPoint and check the white box next to the appropriate file. It should have the extension .htm at the end.
Here upload all files in that folders to document liabrary
Click OK.
You will receive a message like the following, click Yes.
Create a page to host the PowerPoint by clicking Site Actions, then Create.
Click Web Part Page in the Web Pages column.
Give the page a name with no spaces in the name and choose the Full Page, Vertical Layout Template. Make sure the appropriate document library is shown in the Document Library dropdown.
Click Create.
In the blank page that appears, click Add a Web Part. Select Page Viewer Web Part from the popup and click Add.
Open another Internet Explorer or open a new tab within the current Internet Explorer. In this new window or tab, navigate to the document library where you uploaded the PowerPoint. Right click on the name of the PowerPoint and click Copy Shortcut.
Navigate back into the Internet Explorer where you have the new Web Part page displayed. Click Edit then Modify Shared Web Part.
Paste the copied link into the Link box by right clicking in the box and selecting Paste.
Expand the Appearance section and change the Height to be fixed at 5 inches, note that this size may need to be adjusted based on your screen resolution.
Click OK

No comments:

Post a Comment