AnsweredAssumed Answered

Help Setting Up a Custom Transform

Question asked by kharris on Feb 11, 2010
Latest reply on Feb 17, 2010 by mycroes
I'm using the community edition of 3.2r2.  It uses Tomcat.  I have a file type that is not viewable in the share web component.  I have been studying how to handle this and it looks like the best option is to create a transform but I'm a little confused on exactly what files need to modified in order to do this.  I have a conversion command-line executable that transforms my existing file format to a pdf so I'm ok there.

I have already studied the following wiki entries and I still don't seem to have it all figured out.

I have a file just like the one shown in the wiki entry above called Content Transformations, (I'll use the same name as in the first example in that wiki entry) called dwg2pdf-transform-context.xml.  I have it modified to work with the conversion program I have mentioned above.

So my questions are as follows:
1.) My goal is to get the Share web client to transform the file into a pdf automatically so that it can be viewed in the web client document viewer.  Is this the correct way to approach this?

2.)  If the answer is yes to above, where do I put the file called dwg2pdf-transform-context.xml or is that the wrong way to do this?

3.)  After I have that file in the correct location, what other files need to be modified and in what way to get this to work?

Thank you very much in advance.