Is it possible to extract the annotation data (attributes and values) using the ACS AEM Commons "Reports" functionality?
I'm trying to find the "annotations" node in CRXDE Lite, but can't find it.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @17573625,
Yes this is possible to get annotation data using Reports from ACS Commons. Here is an example, for below crx structure
.
SELECT child.* FROM [nt:base] AS parent INNER JOIN [nt:base] AS child ON ISCHILDNODE(child, parent) WHERE ISDESCENDANTNODE(parent, "{{path}}") AND name(parent) = "cq:annotations"where {{path}} is variable to pass content path to query to generate the report.
Hi @17573625,
Yes this is possible to get annotation data using Reports from ACS Commons. Here is an example, for below crx structure
.
SELECT child.* FROM [nt:base] AS parent INNER JOIN [nt:base] AS child ON ISCHILDNODE(child, parent) WHERE ISDESCENDANTNODE(parent, "{{path}}") AND name(parent) = "cq:annotations"where {{path}} is variable to pass content path to query to generate the report.
Views
Like
Replies
Views
Likes
Replies