As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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!
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.
the default config for transformer https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/subsystems/Transformers/default/transformers.properties
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 !!!
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