Repository: Cannot View Document Preview After Clicking On Document
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2014 06:52 AM
Hello everyone! Excited to be here and I look forward to learn more.
We currently run the Alfresco Community Edition. Normally, when you click on a document in the repository, you are led to a new page where you can view the document itself (all pages), make comments and perform other actions like workflow. However, I notice that for documents of sizes 5mb and above, this is not possible. I can only view the front page and no other pages at all. In fact, for some other documents there is no preview at all.
Why is this? And is there a way it can be rectified?
Many thanks for your kind and patient response!
We currently run the Alfresco Community Edition. Normally, when you click on a document in the repository, you are led to a new page where you can view the document itself (all pages), make comments and perform other actions like workflow. However, I notice that for documents of sizes 5mb and above, this is not possible. I can only view the front page and no other pages at all. In fact, for some other documents there is no preview at all.
Why is this? And is there a way it can be rectified?
Many thanks for your kind and patient response!
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2014 01:26 AM
Hi Lolu,
Alfresco allows you to configure/set document preview limit.
There are some Out-of-box configuration limit that has been set by Alfresco as per document mimetype so you are not able to see documents preview with size above 5mb.
You can check OOB configuration in transformers.properties located at \tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Transformers\default\
This configuration can be done in many ways for different mimetype example, based on size of document, timeout etc…
For detail please check - http://wiki.alfresco.com/wiki/Content_Transformation_Limits_4.0#Setting_Transformer_Limits
You increase this limit as per you requirement.
Alfresco allows you to configure/set document preview limit.
There are some Out-of-box configuration limit that has been set by Alfresco as per document mimetype so you are not able to see documents preview with size above 5mb.
You can check OOB configuration in transformers.properties located at \tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Transformers\default\
This configuration can be done in many ways for different mimetype example, based on size of document, timeout etc…
For detail please check - http://wiki.alfresco.com/wiki/Content_Transformation_Limits_4.0#Setting_Transformer_Limits
You increase this limit as per you requirement.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2014 08:25 AM
Hi Niketa,
Thanks for taking the time to throw more light.
However, I browsed to the Alfresco installation folder on our server and this is how far I could get:
…\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems
I can't see the Transformers folder. What do I do? Our Alfresco Community version is 4.2.c
😕
Thanks for taking the time to throw more light.
However, I browsed to the Alfresco installation folder on our server and this is how far I could get:
…\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems
I can't see the Transformers folder. What do I do? Our Alfresco Community version is 4.2.c
😕
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2014 01:14 AM
Hi Lolu, I am not sure but I think this transformation has been moved to Subsystem after 4.2d or may be in later version.
For your version - 4.2c , you can find these properties in repository.properties located at - tomcat\webapps\alfresco\WEB-INF\classes\alfresco
For example: pptx file conversion limit is set to 4MB. You can check these properties for all different mimetype and can increase limit as per your requirement.
# Transforms to PDF
content.transformer.OpenOffice.mimeTypeLimits.pptx.pdf.maxSourceSizeKBytes=4096
# Transforms to SWF
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.pptx.swf.maxSourceSizeKBytes=4096
For your version - 4.2c , you can find these properties in repository.properties located at - tomcat\webapps\alfresco\WEB-INF\classes\alfresco
For example: pptx file conversion limit is set to 4MB. You can check these properties for all different mimetype and can increase limit as per your requirement.
# Transforms to PDF
content.transformer.OpenOffice.mimeTypeLimits.pptx.pdf.maxSourceSizeKBytes=4096
# Transforms to SWF
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.pptx.swf.maxSourceSizeKBytes=4096
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2014 07:27 AM
Thanks alot Niketa!
I was able to locate the repository.properties file and have set the limit to 10MB. Restarted the server and it worked fine.
However, I want to ask:
1. What's the purpose of setting the limit?
2. Is there a downside of setting no limits (file size) to the files that can be previewed?
3. In your consultative capacity, what other options do you recommend for preview of documents with bigger sizes?
Thanks for the time!
I was able to locate the repository.properties file and have set the limit to 10MB. Restarted the server and it worked fine.
However, I want to ask:
1. What's the purpose of setting the limit?
2. Is there a downside of setting no limits (file size) to the files that can be previewed?
3. In your consultative capacity, what other options do you recommend for preview of documents with bigger sizes?
Thanks for the time!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2014 10:43 PM
Hi Lolu ,
Now can you preview documents of sizes 5mb and above??
I cannot. I change the value of
# Transforms to PDF
# Transforms to SWF
to 10MB limit. but I cannot preview.
I currently run the Alfresco 5.0.a.
And then it can't display in Chrome browser. Please any Suggestion . Thanks in Advance.
Now can you preview documents of sizes 5mb and above??
I cannot. I change the value of
# Transforms to PDF
# Transforms to SWF
to 10MB limit. but I cannot preview.
I currently run the Alfresco 5.0.a.
And then it can't display in Chrome browser. Please any Suggestion . Thanks in Advance.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2014 12:40 PM
Got similar problems after migrating from 4.2 to 5.0.a, cannot preview the pdf files.