Which product are you using?
PDF.js Express Version
Detailed description of issue
{ I’m trying to retrieve existing annotations in my document, to be more specific, bookmarks etc. However the annotationsList return an empty list.
Expected behaviour
{It should return a list of bookmarks with informations such as subject }
Does your issue happen with every document, or just one?
{This is the first time we are using this, and we are using PDF.JS Express Plus which is the pro version I believe? Also, I am in the development mode, does that make a difference?}
Link to document
{
doc.pdf (2.2 MB)
}
Code snippet
{
const annotManager = instance.Core.annotationManager;
const docViewer = instance.Core.documentViewer;
docViewer.addEventListener(‘annotationsLoaded’, () => {
const annotationsList = annotManager.getAnnotationsList();
}
})
}