Digital signature problem

When I upload digitally signed document on PDF JS EXPRESS, I have “sign here” annotation ( e signature field ) instead of digital signature. I know that PDF JS EXPRESS doesn’t support digital signature in this moment but can you please help me to delete “sign here” annotation??

Thank you so much,
Stefan

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi Stefans,

You can remove the sign here annotation by iterating over all the annotations and seeing which one is a signature annotation and removing it if it is a signature annotation. Here is a code snippet to do just that:

const { docViewer, annotManager, Annotations } = instance;
     docViewer.on('annotationsLoaded', () => {
       const listOfAnnots = annotManager.getAnnotationsList();
       listOfAnnots.forEach(annot => {
         if (annot instanceof Annotations.SignatureWidgetAnnotation)
           annotManager.deleteAnnotations([annot]);
       });
     });

Cheers,
Dustin