Skip to content
Alfresco CAD (dxf, dwg) preview support
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Alfresco CAD (dxf, dwg) preview support

This project includes Alfresco (4.x,5.x) config files that in conjunction with QCAD software provide DWG/DXF engineering documents preview within your Alfresco Share. Works on Linux and on Windows.

  1. Download trial QCAD converter to some dir (e.g. "/opt/qcad"). This software will perform a dxf/dwg to pdf transformation required for workable preview in Alfresco. Yes it's trial and that's why it takes extra 15 seconds before conversion starts. But it's the best solution I've found.
  2. Build current project using Apache Ant. It will generate a /%project_dir%/build/alf-cad-support.jar file that should be deployed to your alfresco webapp instance: %tomcat_dir%/webapps/alfresco/WEB-INF/lib/.
  3. Add to you



content.transformer.dwg2pdf.extensions.dwg.pdf.supported=true content.transformer.dwg2pdf.extensions.dwg.pdf.priority=50


content.transformer.dxf2pdf.extensions.dxf.pdf.supported=true content.transformer.dxf2pdf.extensions.dxf.pdf.priority=50

  1. Restart Tomcat

Now DXF/DWG preview works on your Alfresco. More details can be found in my blog post.

You can’t perform that action at this time.