PDF Creator

The new PDF creator is not working. php project
an error appears when executing to generate the PDF (Unable to read properties of undefined (reading ‘A4’))!

How is the PDF creator set up, please post some screenshots showing its options.

this is the error that returns:

parser.js:457 TypeError: Cannot read properties of undefined (reading ‘A4’)
at n._pageSize (pdfCreator.js:171:1)
at n._createPdf (pdfCreator.js:224:1)
at n.open (pdfCreator.js:81:1)
at Object.keys.forEach.data. (BaseComponent.js:576:1)
at parser.js:776:1
at parser.js:522:1
at dmx.parse (parser.js:455:1)
at HTMLAnchorElement. (on.js:9:1)
at HTMLAnchorElement.a (appConnect.js:623:1)
at HTMLAnchorElement.dispatch (jquery.js:5145:27)

Hi, also the same problem with the pdf creator not working.

This is the error reported:

TypeError: this._pageSizes is undefined

Which version of App Connect do you have on the page?

I’m able to reproduce the error when using it on the stable channel. The PDF Creator is not compatible with App Connect 1 and only works correct when using App Connect 2 which is currently in the Beta channel.

1 Like