AnsweredAssumed Answered

Preview DWG file in alfresco share

Question asked by monocromo on Apr 17, 2013
Latest reply on Jun 24, 2013 by monocromo
Hi,
i would like see a preview of dwg file in alfresco share.
I followed this guide http://wiki.alfresco.com/wiki/Content_Transformations#RuntimeExecutableContentTransformer at paragraph <strong>Converting an AutoCAD drawing to SWF for the Alfresco Share preview </strong> and i do this step:
1)I created a file dwg2swf-transform-content.xml with this code in <em>C:\Alfresco\tomcat\shared\classes\alfresco\extension</em>:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>
    <bean id="transformer.complex.dwg2swf" class="org.alfresco.repo.content.transform.ComplexContentTransformer" parent="baseContentTransformer">
        <property name="transformers">
            <list>
                <ref bean="transformer.dwg2pdf"/>
                <ref bean="transformer.Pdf2swf"/>
            </list>
        </property>
        <property name="intermediateMimetypes">
            <list>
                <value>application/pdf</value>
            </list>
        </property>
    </bean>
</beans>

2) I restarted alfresco but the preview of dwg file not work.

What's wrong? What's missing? I need to install some third-part software?
Thanks

Outcomes