exporting annotations | Community
Skip to main content
February 3, 2021
Solved

exporting annotations

  • February 3, 2021
  • 1 reply
  • 2107 views

hello. is it possible to export annotations from pages in AEM? and if so, how?

 

to keep track of comments, we'd like to include them in a table or spreadsheet. so far, it is possible to manually click on each annotation to copy and paste the comments into Excel. however, this is time consuming especially for files with more than 50 annotations.

 

thanks in advance for any thoughts or guidance on a more automated method.

 

kindest regards,

baz

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

The annotation saved in the page tree, a speacial node cq:annotations contains all the annotations, you can simply query this node using querybuilder and get only text or whichever property you want in a json format and convert into csv using simple javascript.  

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
February 3, 2021

Hi,

The annotation saved in the page tree, a speacial node cq:annotations contains all the annotations, you can simply query this node using querybuilder and get only text or whichever property you want in a json format and convert into csv using simple javascript.  

Arun Patidar
arunpatidar
Community Advisor
Community Advisor
February 8, 2021

the annotations saved under cq:annotations node as a child node, the properties are text and x,y to get details.

 

Arun Patidar