How can I always get the list of annotations until the pdf viewer is destroyed?

WebViewer Version: 10.2.3

Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? Yes
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? Yes

Please give a brief summary of your issue:
I initialize the pdf viewer. After that I add for example one annotation. I call the exportAnnotationCommand inside annotationManager to get the list of annotations. Inside the response from exportAnnotationCommand method I get add, modify and delete xml nodes. So when I add for example square annotation I get it inside the add xml node. The problem is that when this function is called second time after I added the annotation I get nothing in the response from exportAnnotationCommand. It seems that the previos state of the annotations was deleted internally from the viewer after I called this function. I can’t find some method in the API where I will get the list of all CHANGED annotation while the pdf viewer was active. So when I call the method second or third time to get still the temporary added annotation on the pdf viewer until I save him to my DB.

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

Please provide a link to a minimal sample where the issue is reproducible:

Thank you for contacting Apryse support.

I’m reviewing your request and will get back to you shortly.

I am sending this over to the WebViewer Team. They should be in contact shortly.

Hi a.boshkoski
We would suggest checking the following guides:


more precisely : Apryse Documentation | Documentation