Hi,
I'm trying the PDF Viewer to see if it suits the needs of our company and trying various PDFs, I have encountered with this error that pops up when loading certain PDFs, an example is (this BOE) and I've noted it also pops up when loading signed PDFs. Does the PDF Viewer support visualization of signed PDFs?
The error is the following (copied directly from the console):
spinner.js:55
Uncaught TypeError: Cannot read properties of undefined (reading 'formFieldCollections')
at s.saveFormfieldsData (spinner.js:55)
at s.requestSuccess (spinner.js:55)
at e.pdfViewer.serverActionSettings.loadRequestHandler.onSuccess (spinner.js:55)
at e.successHandler (spinner.js:55)
at e.stateChange (spinner.js:55)
at XMLHttpRequest.httpRequest.onreadystatechange (spinner.js:55)
The TS code is the following:
The problem is that I do not know if the error raises because of a JS error or because the PDF webservice returns the data with an incorrect form.
The webservice I am using is the attached file, which I downloaded from a reponse I found in this forum.
According to npm the version of @syncfusion and @syncfusion/ej2-pdfviewer is 19.3.46 and the original source code for the test application is the ej2-quickstart from GitHub.
Update,
I have tried changing the WebService from the previous one to this one and still has the same behaviour.
Hello, we have the exact same issue. Was there a resolution for this?
Hi Mokbul,
We are glad to announce that our Essential Studio 2022 Volume 2 Main Release V20.2.0.36 is rolled out and is available for download under the following link.
We have fixed the reported issue and it was included in our volume 2 release V20.2.0.36. Kindly upgrade to that version.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Arun Kumar