Enable renditions on document upload

cancel
Showing results for 
Search instead for 
Did you mean: 
rimisra
Member II

Enable renditions on document upload

Hi There,

I understand that by default rendition creation after uploading isnt enabled for all media types in Alfresco.

Is there a setting to enable it for PDF type please on docker images?

Many thanks,
Richa

3 Replies
abhinavmishra14
Advanced

Re: Enable renditions on document upload

To find out what transformers are currently registered and active within an Alfresco Content Services installation, you can use an admin Web Script. This is available at http://localhost:8080/alfresco/service/mimetypes

Have a look at this documentation: https://docs.alfresco.com/6.2/references/dev-extension-points-content-transformer.html

Set the properties in alfresco-global.properties accordingly.

For any unsupported mime-type, follow the steps given in the documentation (e.g. JSON) to setup stuffs.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
Toby_Deloitte
Member II

Re: Enable renditions on document upload

Just to add a little more detail:

We are using Alfresco 6.2 as a headless repository so do not have Share. We want to display all content as pdf - in browser using our own front end application. So the question is can you configure Alfresco to generate the PDF rendition on upload rather than on preview, so that we can gerate all PDF renditions without the use of Share.

Thanks - Toby

abhinavmishra14
Advanced

Re: Enable renditions on document upload

You can with customizations. You can use combination of Behaviors/RenditionService /A custom tranformer  (e.g. TxtToPdf) where needed. 

See the default support for PDF here: http://localhost:8080/alfresco/service/mimetypes?mimetype=application/pdf#application/pdf

Look for supported mime types and their default support here: http://localhost:8080/alfresco/service/mimetypes

Have a look at this thread as well: https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-6-2-transformations-renditions-...

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)