AnsweredAssumed Answered

No thumbnail for DITA file type and no preview

Question asked by wksim on Mar 20, 2013
Latest reply on Mar 20, 2013 by wksim
Hello, I have Alfresco v4.1.1 installed. And when import DITA files (.dita file extension) via Share, no thumbnail gets created and preview doesn't work for the file. But if I import .xml files, then the thumbnails get created and preview works for the files. I want to treat .dita files just like .xml files. Anyone has how to do this? I would think it is matter of updating configuration files. I tried to update content-services-context.xml for dita mime type (application/dita+xml) as follow, but no luck.

   <bean id="transformer.PdfBox.TextToPdf"
         parent="baseContentTransformer" >
      <property name="supportedTransformations">

       <bean class="org.alfresco.repo.content.transform.SupportedTransformation" >
                <property name="sourceMimetype"><value>application/dita+xml</value></property>
                <property name="targetMimetype"><value>application/pdf</value></property>
      <property name="maxSourceSizeKBytes"><value>${content.transformer.PdfBox.TextToPdf.maxSourceSizeKBytes}</value></property>