Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to render PDF, PPT or Word document (asset) in aem page

Avatar

Avatar
Validate 1
Level 1
rajeshk94042740
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
rajeshk94042740
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
rajeshk94042740
Level 1

14-07-2017

Hi,

   I need to display assets especially PDF, PPT or word documents from content/dam  within page. Let's say page would be divided into 2 columns. 1st column I need to render asset and other column I need to display some additional information.

   Is there anyway I can render assets from DAM into page?

Thanks in advance !!!

Rajesh Karka

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Level 4
zeeshank1500736
Level 4

Likes

29 likes

Total Posts

103 posts

Correct Reply

33 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 4
zeeshank1500736
Level 4

Likes

29 likes

Total Posts

103 posts

Correct Reply

33 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
zeeshank1500736
Level 4

14-07-2017

Hi

I am not sure about the Embed part of ppt and word document but For PPt or Word Document you can go throught this thread may help

Powerpoint renderer for a page - AEM 6.2

For Pdf you can check this code Make sure to change the height and width accordingly.It will display pdf based on the browser setting.

<embed src="/content/dam/xyz.pdf" width="800px" height="2100px" />

Answers (0)