Hyperlinks missing in Word to PDF conversion using PDFG and PageOverlay in AEM
When converting Word documents to PDF using the AEM PDFG service with the PageOverlay option of the Assembler Service, hyperlinks do not appear in the resulting PDF. To fix this, set the embedFormsAndAnnots parameter to true in the configuration settings.
Description description
Environment
Adobe Experience Manager (AEM) On-Premise, v6.5 MS Office Professional Plus 2019
Issue/Symptoms
- Hyperlinks embedded in a Word document do not appear in the resulting PDF file after conversion.
- The
embedFormsAndAnnotsparameter, responsible for adding annotations (including hyperlinks, comments, highlights, sticky notes, shapes, hyperlinks and other markup elements) in PDF documents, is set tofalseby default, causing annotations to be missing in the output document.
Resolution resolution
To retain hyperlinks during Word-to-PDF conversion, follow these steps:
-
Adjust the Assembler service task configuration by setting the
embedFormsAndAnnotsparameter totrueto preserve forms and annotations, including hyperlinks. -
Define this parameter within your configuration as follows:
code language-none { "options": { "embedFormsAndAnnots": true }, "sourceDocuments": [ "document1.pdf", "document2.pdf" ] , "resultDocument": "assembledDocument.pdf" } -
Test your setup to ensure hyperlinks appear correctly in the generated PDF file after applying this change.
3d58f420-19b5-47a0-a122-5c9dab55ec7f