cancel
Showing results for 
Search instead for 
Did you mean: 

Preview DWG file in alfresco share

monocromo
Champ in-the-making
Champ in-the-making
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
5 REPLIES 5

abarisone
Star Contributor
Star Contributor
Hi,
take a look to these links that may be useful for you.
https://addons.alfresco.com/addons/pdf-rendering-extension
http://wiki.alfresco.com/wiki/DWG_Transformations

Regards,
Andrea

monocromo
Champ in-the-making
Champ in-the-making
Hi Andrea and thanks for reply,  I saw that link but don't help me and don't understand them thoroughly. I send you a private message.

monocromo
Champ in-the-making
Champ in-the-making
Idea?

monocromo
Champ in-the-making
Champ in-the-making
Up

aishu
Champ on-the-rise
Champ on-the-rise

hi any idea on this question?