[Client-side HTML to PDF] getting pdfCreator is not defined error while using ClientSideHtmltoPdf

Forge Component
(1)
Published on 2019-09-19 by Kilian Hekhuis
1 vote
Published on 2019-09-19 by Kilian Hekhuis

Hi, 

I am trying to download html page as a pdf, for that I am using ClientSideHtmltoPdf. Getting pdfCreator is not defined error while using  ClientSideHtmltoPdf.

Neha Bhosale wrote:

Hi, 

I am trying to download html page as a pdf, for that I am using ClientSideHtmltoPdf. Getting pdfCreator is not defined error while using  ClientSideHtmltoPdf.

Hello, 

Did you generate the app after installing that component? 


Hi Neha,

Appologies for the late reply. That error indicates that you didn't include the PdfGenerator Web Block on the Screen you call GeneratePdf.

Hi Kilian,

thank for your answer, but how do I get the PdfGenerator Web Block on the screen ? Pulling is not possible.

Tobias

Hi Kilian,

I am now one step further. I've done the PdfGenerator Web Block on the Screen you call GeneratePdf.

But i get a new error "Can't read property 'r' is undefined"

Could you help ?

Thanks.

Tobias.