Expand my Community achievements bar.

SOLVED

Total number of anchor tags/CTA buttons from an AEM content page using java servlet

Avatar

Level 2

Is there anyway we can find the total number of anchor tags/CTA buttons from an AEM content page using java servlet? Is there any out of the box API available to fetch anchor tag details?

1 Accepted Solution

Avatar

Correct answer by
Level 3

use query builder to check anchor tags used in particular set of pages and display it using AEM servlet.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 3

use query builder to check anchor tags used in particular set of pages and display it using AEM servlet.

Avatar

Level 2

In my case, we have authored the anchor tag using CTA button in some components (we have the property name link to author the link)and in some please it is a hyperlinked(using RTE plugins). And i have tried with many queries but it is not returning the actual outputs. Could you please provide a sample query?