In AEM 6.5.21 we require to create PDFs from static HTML(with inline CSS) programatically as a DAM asset.
We have an endpoint that gives text/html response HTML(with inline CSS).
Have tried PDFBox but it displays the html content as text in the PDF.
Solved! Go to Solution.
Views
Replies
Total Likes
@akashdeepAEM I would recommend using the https://developer.adobe.com/document-services/docs/apis/#tag/Html-to-PDF/operation/pdfoperations.ht...and then write the asset to the DAM using the Assets API / utilities.
Please check if this helps
hi @akashdeepAEM,
Under the assumption of installing wkhtmltopdf on the machine running AEM, you can also test and evaluate this option:
@akashdeepAEM I would recommend using the https://developer.adobe.com/document-services/docs/apis/#tag/Html-to-PDF/operation/pdfoperations.ht...and then write the asset to the DAM using the Assets API / utilities.
@akashdeepAEM Did you find the suggestions helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies