AEM Site Page URL to PDF | Adobe Higher Education
Skip to main content
Level 2
May 30, 2023

AEM Site Page URL to PDF

  • May 30, 2023
  • 2 Antworten
  • 843 Ansichten

Hi All,

 

We have a requirement to convert and AEM Site page to PDF when given a sitepage url as an input.

 

We have been trying opensource solutions like iText html2pdf, iTextRenderer, wkhtmltopdf but none of the worked. With itexthtml2pdf we were able to generate pdf but unable to fetch dynamic components such as "Dynamic media powered or coveo powered" also, local AEM often corrupts.

 

Looking for any frontend or backend approaches to generate PDFs.

 

Thanks!

Dieses Thema wurde für Antworten geschlossen.

2 Antworten

Sady_Rifat
Community Advisor
Community Advisor
May 30, 2023

Hello @trisandhyanagam ,
Have you tried with the clientside library htmlToPdf? https://ekoopmans.github.io/html2pdf.js/ 

For client-side rendering, you must load the JS after the content is ready.

Shashi_Mulugu
Community Advisor and User Group Leader
Community Advisor and User Group Leader
May 30, 2023

@trisandhyanagam can you please explain this in more detail? what is the usecase of PDF export of webpage? Are you trying to over achieve AEM DITA?