cancel
Showing results for 
Search instead for 
Did you mean: 

Html files preview

alfresquiviris
Champ in-the-making
Champ in-the-making
Hello,


Depending on its size we can preview some types of documents (pdf, pptx, doc, txt) but we are unable to preview html files.
We get this error in the alfresco.log:

ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 05270175 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js
org.springframework.extensions.webscripts.WebScriptException: 05270175 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js


I get the same result if I upload an html file or if I create directly in the library with the create html file option.

It's possible to preview these type of files'
Any idea?

Thanks
2 REPLIES 2

alfresquiviris
Champ in-the-making
Champ in-the-making
Sorry, what means edited by aevans713. I'm unable to see any update. It has been replied?

douglascrp
World-Class Innovator
World-Class Innovator

I think this blog post can help you HTML Preview in Alfresco done right - CONTENTREICH