Skip to main content
Legend
February 14, 2017
Answered

Add reply to the annotation thru javascript

  • February 14, 2017
  • 1 reply
  • 1040 views

Hi All,

Is there any property available to add reply for the particular comments/annotation using JavaScript in Acrobat.

Please guide me if it is possible.

Thanks!

This topic has been closed for replies.
Correct answer try67

Yes, it's possible. You basically create a normal annotation and then set its inReplyTo property to point to the name property of the annotation to which you are replying. See also the refType property, which lets you define the kind of reply it is.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
February 14, 2017

Yes, it's possible. You basically create a normal annotation and then set its inReplyTo property to point to the name property of the annotation to which you are replying. See also the refType property, which lets you define the kind of reply it is.

Legend
February 14, 2017

Hi try67​,

Thanks for your logic and it is working fine at my end.

Also could you please suggest how to find the list of annotations which is having reply comments.

Thanks!

try67
Community Expert
Community Expert
February 14, 2017

That's more complicated. You would need to scan all the annotations in the

file, collecting the values of their inReplyTo properties to an array, then

you can access those annotations in the array using the getAnnot(name)

method.

On Tue, Feb 14, 2017 at 3:58 PM, Sajeev Sridharan <forums_noreply@adobe.com>