Moderator
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification 1 year, 2 months ago
#58071
:: title “,
Hi Christoph,
the PDF Plugin can generate you a pdf in an Business Object from your HTML by using the method generatePdfFromHtml
an example payload would be:
{
“htmlString”: “
“config”: “{\”orientation\” : \”Portrait\”,\”page-size\” : \”A4\”,\”margin-top\” : \”1in\”,\”margin-bottom\” : \”1in\”,\”margin-left\” : \”1in\”,\”margin-right\” : \”1in\”,\”footer-center\” : \”[page] / [toPage]\”}”
}
you will get back an base64string as result that you then can show in the pdfviewer widget.