Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

can AEM has any OOTB component which can render a word document?

Avatar

Level 4

we have a customer requirement to upload workd documents in AEM, they want to directly view the document in the page, do we have any OOTB component in AEM which can add the word document and users can see the contents of the document.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@ramgopalm545617  There us no OOB component available in AEM to render word document.

Also, No browsers currently have the code necessary to render Word Documents, However you can create your custom component which can show the word document using google docs or any other plugin.

 

For example:

 you can use Google Documents' Viewer via an <iframe> to display a remotely hosted .doc/.docx.

<iframe src="https://docs.google.com/gview?url=http://remote.url.tld/path/to/document

 

Referece: https://stackoverflow.com/questions/27957766/how-do-i-render-a-word-document-doc-docx-in-the-browser...

 

Regards,

Arpit 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@ramgopalm545617  There us no OOB component available in AEM to render word document.

Also, No browsers currently have the code necessary to render Word Documents, However you can create your custom component which can show the word document using google docs or any other plugin.

 

For example:

 you can use Google Documents' Viewer via an <iframe> to display a remotely hosted .doc/.docx.

<iframe src="https://docs.google.com/gview?url=http://remote.url.tld/path/to/document

 

Referece: https://stackoverflow.com/questions/27957766/how-do-i-render-a-word-document-doc-docx-in-the-browser...

 

Regards,

Arpit 

Avatar

Level 4
thanks for the reply, I hope this will work in AEM 6.5.2 as well.