11-09-2020 09:47 AM
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
11-09-2020 10:57 AM
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.
11-09-2020 12:00 PM
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
11-09-2020 12:47 PM
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-...
Explore our Alfresco products with the links below. Use labels to filter content by product module.