cancel
Showing results for 
Search instead for 
Did you mean: 

Preview large docx and xlsx

webdevptg
Confirmed Champ
Confirmed Champ

Hi!

What should I to do for change the limit of preview files ( docx and xlsx ) to display documents larger than 1 MB.
My installation is Alfresco Community 5.1 and the Windows Server 2012 operating system.

Thanks!

4 REPLIES 4

afaust
Legendary Innovator
Legendary Innovator

You need to configure higher limits on the allowed source document size via transformer properties. See the documentation for details and default configuration as reference. Specifically the OpenOffice transformer properties need to be changed.

Nabilmh
Champ on-the-rise
Champ on-the-rise

HI @afaust ,

I'm facing the same error with preview files more than 3Mb size, despite  I have configured alfresco-global.properties as documentation on link given.

Any Idea Please !!!

4535992
Star Collaborator
Star Collaborator

Put these properties on the alfresco-global.properties file, they should work on Alfresco 5:

content.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=256000

content.transformer.JodConverter.extensions.xlsx.pdf.maxSourceSizeKBytes=256000

content.transformer.JodConverter.extensions.pptx.pdf.maxSourceSizeKBytes=256000

content.transformer.JodConverter.extensions.docx.png.maxSourceSizeKBytes=256000

content.transformer.JodConverter.extensions.xlsx.png.maxSourceSizeKBytes=256000

content.transformer.JodConverter.extensions.pptx.png.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.docx.pdf.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.xlsx.pdf.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.pptx.pdf.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.docx.png.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.xlsx.png.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.pptx.png.maxSourceSizeKBytes=256000

digcat
Confirmed Champ
Confirmed Champ