cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to convert document to pdf

marwen
Champ in-the-making
Champ in-the-making

I am trying to convert a document to pdf and this is my code: 

@overrideprotected void executeImpl(Action action, NodeRef actionedUponNodeRef) { CopyService copyService =serviceRegistry.getCopyService(); NodeService nodeService =serviceRegistry.getNodeService(); RenditionService2 renditionService2 =serviceRegistry.getRenditionService2(); NodeRef newUponNodeRef = copyService.copy(actionedUponNodeRef, nodeService.getPrimaryParent(actionedUponNodeRef).getParentRef(),nodeService.getPrimaryParent(actionedUponNodeRef).getTypeQName(),nodeService.getPrimaryParent(actionedUponNodeRef).getQName()); TransformDefinition transformationDefinition = new TransformDefinition(Mimetype.MIMETYPE_PDF, null, null, null, null); renditionService2.render(newUponNodeRef, transformationDefinition); }and i get this in the logs:

docker-cd-ged-mar-acs-1 | 2022-11-21 15:24:40,207 ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-1] Transformer "outlookMsgToLibreofficeViaText" references the transformOptions (tikaOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json docker-cd-ged-mar-acs-1 | 2022-11-21 15:24:40,207 ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-1] Transformer "htmlToImageViaTXT" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json docker-cd-ged-mar-acs-1 | 2022-11-21 15:25:50,251 ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-1] Transformer "textToImageViaPdf" references the transformOptions (pdfRendererOptions) which do not exist. Read from resource alfresco/transforms/0100-basePipelines.json

What am i missing ..

0 REPLIES 0