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"
class="org.alfresco.repo.content.transform.TextToPdfContentTransformer"
parent="baseContentTransformer" >
<property name="supportedTransformations">
<list>
…
<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>
</bean>
</list>
</property>
<property name="maxSourceSizeKBytes"><value>${content.transformer.PdfBox.TextToPdf.maxSourceSizeKBytes}</value></property>
</bean>
Thanks.