Total number of anchor tags/CTA buttons from an AEM content page using java servlet | Community
Skip to main content
Level 2
April 10, 2023
Solved

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

  • April 10, 2023
  • 1 reply
  • 749 views

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.
Best answer by kdatta

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

1 reply

kdattaAccepted solution
Level 2
April 10, 2023

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

Level 2
April 10, 2023

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?