Skip to main content
Known Participant
November 28, 2020
Answered

Annotation Selector is not valid for given xxx

  • November 28, 2020
  • 1 reply
  • 5405 views

Hi, 

 

I've encountered this error when using 

annotationManager.addAnnotations(xxx);

 

It was working for some time. then suddenly this error shows up. 

    This topic has been closed for replies.
    Correct answer Dhruv5CCF

    This error encounters when the Comment is added to the File without selecting the selector

    1 reply

    Dhruv5CCFCorrect answer
    Inspiring
    December 3, 2020

    This error encounters when the Comment is added to the File without selecting the selector

    tangyunAuthor
    Known Participant
    December 3, 2020

    Actually,

     

    The annotation data are captured by adding event listeners for the event ANNOTATION_ADDED. 

     

    This issue was solved by using the annotationManager.registerEventListener, instead of registering the event listener directly on the adobeViewer. 

     

    Probably the event .d

    it was solved by using the annotationManager to add the eventlistener for Annotation added. 

    tangyunAuthor
    Known Participant
    December 3, 2020

    seems one cannot edit the post once it's posted....

     

    I meant probably because of the event.data content are different when captured by annotationManager compared to when captured by adobeViewer