AnsweredAssumed Answered

How to enable web preview

Question asked by rahulpatil on Nov 24, 2013
Latest reply on Nov 28, 2013 by sujaypillai
Hello everybody,

I'm trying to enable WebODF Preview in Alfresco 4.2c but I've some confusion in configuration.

I've tried following links :

http://blogs.alfresco.com/wp/wabson/2012/04/11/share-document-previews-in-alfresco-4/
http://code.google.com/p/share-extras/wiki/MediaViewers#Configuration

I'm using web-preview.get.config.xml as same as -> https://gist.github.com/wabson/5057107

As you can see files as below


root@dc:/opt/alfresco/tomcat/shared/lib# updatedb

root@dc:/opt/alfresco/tomcat/shared/lib# locate web-preview.get
/opt/alfresco/tomcat/shared/classes/alfresco/web-extension/site-webscripts/org/alfresco/components/preview/web-preview.get.config.xml
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get.config.xml
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get.config.xml-org
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get.desc.xml
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get.head.ftl
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get.html.ftl
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get.js
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get.properties
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get_de.properties
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get_en.properties
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get_es.properties
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get_fr.properties
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get_it.properties
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get_ja.properties
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get_nb_NO.properties
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get_nl.properties
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get_ru.properties
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/web-preview.get_zh_CN.properties


root@dc:/opt/alfresco/tomcat/shared/lib# ls -rlht
total 1000K
-rwxr-xr-x 1 alfresco alfresco  45K Jun 30  2012 share-webodf-0.1.jar
-rwxr-xr-x 1 alfresco alfresco 952K Feb 15  2013 media-viewers-2.5.1.jar

root@dc:/opt/alfresco/tomcat/shared/lib# pwd
/opt/alfresco/tomcat/shared/lib



Only PDF Preview is Working But issue with other all mime-type

Ex.
Couldn't display content due to missing plugin 'WebODF'

Please help me with the same..

Thanks
Rahul Patil.

Outcomes