Free Support Forum - groupdocs.com

List of annotated documents


#1

I want to add annotation on document from doc viewer and want list of documents on which annotation added.

Needs all possible ways to achive it.

THANK YOU.


#2
Hello Rohit,

Thank you for your request. Please investigate this live sample for how to add annotation to the document via API - http://groupdocs-php-samples.herokuapp.com/sample11
Also please check documentation for this sample here - http://groupdocs-php-samples.herokuapp.com/docs/sample11.html

As for the list of documents with annotations - please follow this logic:
1. Get list of all files from your GroupDocs account with "ListEntities" method
2. After that create loop which will take files GUID one by one from list which you will get on previous step and check if current document has annotations with "ListAnnotations" method
3. If file has annotations put him to the array - this array you will be able use as list of documents with annotations

If you will have more questions please feel free to contact us.