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

ramgopalm545617

25-04-2020

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.

Accepted Solutions (1)

Accepted Solutions (1)

arpitv27529355

25-04-2020

@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 

Answers (0)