Expand my Community achievements bar.

SOLVED

Powerpoint renderer for a page - AEM 6.2

Avatar

Level 2

Hi,

I have a requirement to create powerpoint renderer for our pages.

Example : The URL "/content/handson/products/product.ppt" should create a PPT that contains content for URL "/content/handson/products/product.html?wcmmode=disabled".

And it should work for other templates as well in my project.

How to achieve this?

Thanks in advance

Divya

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

I am not sure if we can do this, but there are few workarounds that i would like to share with you:

1. Link:- https://www.microsoft.com/web/solutions/powerpoint-embed.aspx

    Step 1 - Create a public folder on Windows Live SkyDrive
    Step 2 - Upload your presentation to Windows Live SkyDrive
    Step 3 - Copy the embed code and paste it to your web page

2. Google Docs can serve up PowerPoint (and PDF) documents in it's document viewer. You don't have to sign up for Google Docs, just upload it to your website, and call it from your page:

    <iframe src="http://docs.google.com/gview?url=http://www.yourwebsite.com/powerpoint.ppt&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

3. You can create a GIF file for your PPT and then you can use it within AEM (Option is available in MS power point).

Source :- http://stackoverflow.com/questions/39855/embed-a-powerpoint-presentation-into-html

4. Link:- https://support.office.com/en-us/article/Embed-a-presentation-in-a-web-page-or-blog-19668a1d-2299-4a...

    Embed a presentation in a web page or blog

  1. After you create your presentation in PowerPoint Online, on the File tab, click Share, and then click Embed.

  2. To create the HTML code to embed your file in the web page, click Generate Generate HTML code .

  3. In the Embed box, under Dimensions, select the correct dimensions for the blog or web page.

  4. Under Embed Code, right-click the code, click Copy, and then click Close.

    NOTE:  The HTML embed code you copied is an iframe tag supported in many web authoring environments and blog services.

  5. Go to your web page or blog editor, write your post, and then switch to HTML editing.

    TIP:  Make sure the embed code you copied is still the most recent item in your clipboard.

  6. Press Ctrl + V.

I hope this would help you.

~kautuk 



Kautuk Sahni

View solution in original post

3 Replies

Avatar

Level 10

Can you please provide more details - you want your AEM site to render PowerPoint? 

Avatar

Level 2

I want my AEM site to render PowerPoint for components created in my page.

Avatar

Correct answer by
Administrator

Hi 

I am not sure if we can do this, but there are few workarounds that i would like to share with you:

1. Link:- https://www.microsoft.com/web/solutions/powerpoint-embed.aspx

    Step 1 - Create a public folder on Windows Live SkyDrive
    Step 2 - Upload your presentation to Windows Live SkyDrive
    Step 3 - Copy the embed code and paste it to your web page

2. Google Docs can serve up PowerPoint (and PDF) documents in it's document viewer. You don't have to sign up for Google Docs, just upload it to your website, and call it from your page:

    <iframe src="http://docs.google.com/gview?url=http://www.yourwebsite.com/powerpoint.ppt&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

3. You can create a GIF file for your PPT and then you can use it within AEM (Option is available in MS power point).

Source :- http://stackoverflow.com/questions/39855/embed-a-powerpoint-presentation-into-html

4. Link:- https://support.office.com/en-us/article/Embed-a-presentation-in-a-web-page-or-blog-19668a1d-2299-4a...

    Embed a presentation in a web page or blog

  1. After you create your presentation in PowerPoint Online, on the File tab, click Share, and then click Embed.

  2. To create the HTML code to embed your file in the web page, click Generate Generate HTML code .

  3. In the Embed box, under Dimensions, select the correct dimensions for the blog or web page.

  4. Under Embed Code, right-click the code, click Copy, and then click Close.

    NOTE:  The HTML embed code you copied is an iframe tag supported in many web authoring environments and blog services.

  5. Go to your web page or blog editor, write your post, and then switch to HTML editing.

    TIP:  Make sure the embed code you copied is still the most recent item in your clipboard.

  6. Press Ctrl + V.

I hope this would help you.

~kautuk 



Kautuk Sahni