cancel
Showing results for 
Search instead for 
Did you mean: 

transformers.properties?

e-no91
Champ in-the-making
Champ in-the-making
Hi,

I just installed the latest version of Alfresco Community 5.0. Before this I was using Alfresco Community 4.2.

I wanted to edit the maximum file size that can be uploaded, but I couldn't find the file transformers.properties that is used in 4.2.

I also wanted to edit some error messages which in 4.2 the file is called upload.post.js.

Where are both files in Alfresco 5.0?

Thank you in advance!
7 REPLIES 7

afaust
Legendary Innovator
Legendary Innovator
Hello,

please be aware that in Alfresco 5.0, all out-of-the-box configuration resources are bundled WITHIN the JAR of the corresponding project, so almost all files that were once contained in the exploded WAR now reside in some /WEB-INF/lib/name-of.jar.
You can still override transformers.properties by adding the appropriate subsystem to your /alfresco/extension directory or using alfresco-global.properties. The original file should be contained in the alfresco-repository-5.0.b.jar.
The upload.post.js should be contained in the alfresco-remote-api-5.0.b.jar

Regards
Axel

e-no91
Champ in-the-making
Champ in-the-making
Thanks for the reply, Axel!

Overriding works!

denisl
Champ in-the-making
Champ in-the-making
Hello dear Alfresco community members,

We installed Alfresco Community 5.0.d from bundle on Centos 6.6 64bit Minimal and figured out that PDF Box transformers are disabled by default (transformers.properties). That means the transformations like docx to PDF don't work. Setting these properties to alfresco-global.properties doesn't help.

### Transformers

content.transformer.OpenOffice.extensions.*.docx.supported=true
content.transformer.OpenOffice.extensions.*.potx.supported=true
content.transformer.OpenOffice.extensions.*.xlsx.supported=true
content.transformer.OpenOffice.extensions.*.pptx.supported=true
content.transformer.OpenOffice.extensions.*.txt.supported=true
content.transformer.complex.JodConverter.PdfBox.extensions.docx.txt.supported=true
content.transformer.complex.JodConverter.PdfBox.extensions.doc.txt.supported=true
content.transformer.complex.JodConverter.PdfBox.extensions.ppt.txt.supported=true
content.transformer.complex.JodConverter.PdfBox.extensions.xlsx.txt.supported=true
content.transformer.complex.JodConverter.PdfBox.extensions.pptx.txt.supported=true
content.transformer.complex.JodConverter.PdfBox.extensions.xls.txt.supported=true

Does someone have an idea how to solve this?

Thanks in advance!

afaust
Legendary Innovator
Legendary Innovator
The JodConverter configuration properties are not relevant to your use case. JodConverter is only supported in Alfresco Enterprise / One, and since you configured the OpenOffice properties in the beginning you should also configure the complex transformer settings for OpenOffice.

Regards
Axel

denisl
Champ in-the-making
Champ in-the-making
Axel thank you! Could you please post an example how this should be done or a link to specification ?
Tank you!

afaust
Legendary Innovator
Legendary Innovator
Ehm - I don't know what kind of an example I should provide for renaming properties from JodConverter to OpenOffice …

denisl
Champ in-the-making
Champ in-the-making
Thank you! I will check.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.