11-22-2022 09:52 AM
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 ..
Explore our Alfresco products with the links below. Use labels to filter content by product module.