Total number of anchor tags/CTA buttons from an AEM content page using java servlet | Community
Skip to main content
Level 2
Apr 10, 2023 4:50 AM UTC
Solved

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

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kdattaAccepted solution
Level 2
Apr 10, 2023 4:56 AM UTC

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

2 replies

kdattaAccepted solution
Level 2
Apr 10, 2023 4:56 AM UTC

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

Translate
Level 2
Apr 10, 2023 6:36 AM UTC

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?

Translate