cancel
Showing results for 
Search instead for 
Did you mean: 

Changing transformation limits version 5b

mark-bigrock
Champ in-the-making
Champ in-the-making
Please can someone direct me as to where I can adjust the transformation limits for documents.

The file structure seems to have changed for version 5 and I cant seem to find where the new location is to adjust the transformation limits.

I was running version 4e and the location was C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Transformers\default
In version 5 I don't have a Transformers sub folder in the subsystems folder.

Are there any max limits I should be aware of?

Many thanks 
4 REPLIES 4

s_palyukh
Star Contributor
Star Contributor
Hi, you can find transformers.properties in the same place (alfresco/subsystems/Transformers/default) by unzipping /tomcat/webapps/alfresco/WEB-INF/libalfresco-repository-5.0.(a/b/c).jar file.

And you will see all transformation limits. For example:


content.transformer.OpenOffice.extensions.xlsm.pdf.maxSourceSizeKBytes=1536
content.transformer.OpenOffice.extensions.pptm.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.extensions.xls.pdf.maxSourceSizeKBytes=10240
content.transformer.OpenOffice.extensions.sldm.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.extensions.xltx.pdf.maxSourceSizeKBytes=1536
content.transformer.OpenOffice.extensions.potx.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.extensions.docx.pdf.maxSourceSizeKBytes=768
content.transformer.OpenOffice.extensions.xlsx.pdf.maxSourceSizeKBytes=1536
content.transformer.OpenOffice.extensions.pptx.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.extensions.xlam.pdf.maxSourceSizeKBytes=1536
content.transformer.OpenOffice.extensions.ppt.pdf.maxSourceSizeKBytes=6144
content.transformer.OpenOffice.extensions.docm.pdf.maxSourceSizeKBytes=768
content.transformer.OpenOffice.extensions.xltm.pdf.maxSourceSizeKBytes=1536
content.transformer.OpenOffice.extensions.dotx.pdf.maxSourceSizeKBytes=768
content.transformer.OpenOffice.extensions.xlsb.pdf.maxSourceSizeKBytes=1536
content.transformer.OpenOffice.extensions.sldx.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.extensions.ppsm.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.extensions.potm.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.extensions.txt.pdf.maxSourceSizeKBytes=5120
content.transformer.OpenOffice.extensions.ppam.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.extensions.dotm.pdf.maxSourceSizeKBytes=768
content.transformer.OpenOffice.extensions.doc.pdf.maxSourceSizeKBytes=10240
content.transformer.OpenOffice.extensions.vsd.pdf.maxSourceSizeKBytes=4096
content.transformer.OpenOffice.extensions.ppsx.pdf.maxSourceSizeKBytes=4096

scouil
Star Contributor
Star Contributor
Hi,

It's usually not a good practice to change stuff directly in the webapps folder.
Try to put the exact same properties in alfresco-global.properties

mark-bigrock
Champ in-the-making
Champ in-the-making
Hi

Thank you very much for your reply.

I have added the same properties to the alfresco-global.properties file.

Are there any limits I should be aware of as a 90MB PowerPoint file still fails top preview however a 9MB file now previews?

Many thanks

s_palyukh
Star Contributor
Star Contributor
hi Scouil,

you are right, changing properties in webapps folder is a bad practice, I just wanted to say where can take a look at limits of transformations.

Mark, if overriding limits through the alfresco-global.properties doesn't help you then you will need to attach your log file to take a look at error. I think Alfresco doesn't have time to convert pptx to pdf format and transaction is rolled back