Pdf Viewer ej1 download function not start

I'm trying to use a custom function to download a pdf document.

The problem is that when I call the download() function the following error comes out.

ej.pdfviewer.min.js

Uncaught TypeError: this._newAnnotationList[(t - 1)] is undefined

The submit function is not called in webapi

I state that this only happens on the production server and does not happen locally.

What could it depend on?



3 Replies

SM Selvakumar Murugan Syncfusion Team September 6, 2021 12:11 PM UTC

Hi Giovanni, 

We were unable to reproduce the reported issue with the provided details. We have shared a sample in which we have tried to reproduce the issue in the below link.  


Kindly try it and revert us with modified sample, PDF document, environment details and more details about the reported issue. It will be helpful for us to analyze further and provide the details.  

Regards,
Selvakumar 



GI Giovanni September 7, 2021 10:23 AM UTC

I have found that the problem occurs when PDFs have multiple pages and contain forms. So if I manually scroll through all the pages of the PDF, allowing them to be loaded, the download function starts vice versa and goes into error. How can you force the loading of all the pages of the pdf?




SM Selvakumar Murugan Syncfusion Team September 8, 2021 03:04 PM UTC

Hi Giovanni, 

We were unable to reproduce the reported issue with the provided details. We have checked the reported issue with multiple pages form document and attached a video for your reference, kindly refer to the below link. 



We suspect that the issue is due to the document specific. So kindly try it and revert us with PDF document, code-snippet, and modified sample. It will be helpful for us to analyze further and provide the details. 

Regards,
Selvakumar 


Loader.
Up arrow icon