cancel
Showing results for 
Search instead for 
Did you mean: 

Content Transformation on Alfresco 2.2

svetzal
Champ in-the-making
Champ in-the-making
Hi All,

I'm having no end of trouble trying to get content transformation to work the way I'd like on Alfresco 2.2. It's installed on Windows Server 2003 R2, and installed with its own jvm and openoffice. I am running openoffice manually as a service before launching Alfresco.

The behaviour appears such that the transformations are triggering on a file being loaded into the repository (over WebDAV or SMB) before it has been fully loaded.

Basically I can add content via the web UI, and it gets transformed fine, but as soon as I use WebDAV or SMB to add the content the resulting transformed files are empty or corrupt.

What might be my problem?

Also, with Alfresco 2.2 I can't seem to get the transformations to preserve a hierarchical directory structure - all files picked up and transformed are dropped in a flat manner all inside the same folder. Is there a way to get this to work hierarchically?

Thanks!

Steve
1 REPLY 1

jbarmash
Champ in-the-making
Champ in-the-making
The behaviour appears such that the transformations are triggering on a file being loaded into the repository (over WebDAV or SMB) before it has been fully loaded.
Basically I can add content via the web UI, and it gets transformed fine, but as soon as I use WebDAV or SMB to add the content the resulting transformed files are empty or corrupt.

What might be my problem?

Not sure.  Is that the problem for ALL files, or just some?  Perhaps somehow some packets are being lost and WebDAV / SMB thinks it received the whole file - just a speculation.


Also, with Alfresco 2.2 I can't seem to get the transformations to preserve a hierarchical directory structure - all files picked up and transformed are dropped in a flat manner all inside the same folder. Is there a way to get this to work hierarchically?
  I am assuming you created content rules to do this.  As you may remember, when you create a content rule to do a transformation, you need to point it to a target directory.   Doing it in a different way would require writing a custom script, or configuring transformatoin rules at each level of the hierarchy, so this way, if you had 3 folders, you'd need 3 transformation rules.     The first way (javascript), you could take advantage of the rule inheritance.