Unable to merge annotations into PDF

I'm merging json annotation on Nodejs but the annotations are not available on the output file.


Attachment: syncfusiondemo_7c299ce4.zip

3 Replies

JT Jeyalakshmi Thangamarippandian Syncfusion Team March 30, 2026 09:43 AM UTC

Hi Jackson Tong,

 

Thank you for sharing the details.

 

We have reviewed the provided input JSON annotation file and PDF document using the ej2‑pdf library. After importing the JSON annotations, we confirmed that the FreeText annotation content (“A5”) is preserved correctly in the output PDF, as expected.

 

To demonstrate this behavior, we have prepared a working sample. Please try loading your input JSON file in the sample, and you will see that the annotations are preserved properly in the output.

Please let us know if you need any further assistance in this.


Regards,
Jeyalakshmi T



JT Jackson Tong replied to Jeyalakshmi Thangamarippandian March 30, 2026 09:46 AM UTC

Thanks for replying, as I have said I need to run this on Nodejs server not on browser.



MV Manikandan Vellaisamy Syncfusion Team March 31, 2026 12:46 PM UTC

Hi Jackson Tong,

 

Thank you for bringing this to our attention.

 

After reviewing the issue on our side, we are unable to reproduce the reported issue in the node server environment using the Syncfusion JavaScript PDF library. Using the provided input PDF and JSON annotation data, the annotation import works as expected, and the annotations are correctly applied in the output file.

 

To assist you further, we kindly request that you share additional details or an exact replication sample that demonstrates the issue on your end. This will help us analyze the scenario more accurately and provide appropriate guidance.

 

For your reference, please find the node server sample application at the following link. Additionally, please refer to the video demonstration at the provided link, which shows the working behavior from our end.

 

Steps to Run the Sample Project

  1. Open the project folder and launch a new terminal.
  2. Run the following commands:
    1. npm install
    2. cd backend
    3. node server.js
  3. Finally, open the HTML file in a browser.

 

regards,

Manikandan V


Loader.
Up arrow icon