Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Report on Links

Avatar

Level 2

Hello,

 

I'm trying to figure out how to report on all links found on pages under a given path.

 

For each entry, the report should show the page URL or path, and a list of all the links on that page.

 

The report might look like this:

 

Page PathLinks contained on page
/directory/page-1.html

link-a

link-b

link-c

/directory/page-2.html

link-d

link-e

link-f

/directory/page-3.html

link-g

link-h

link-i

 

or maybe the report would look like this:

 

Page PathLinks contained on page
/directory/page-1.htmllink-a
/directory/page-1.htmllink-b
/directory/page-1.htmllink-c
/directory/page-2.htmllink-d
/directory/page-2.htmllink-e
/directory/page-2.htmllink-f
/directory/page-3.htmllink-g
/directory/page-3.htmllink-h
/directory/page-3.htmllink-i

 

I am trying to do this by creating a custom report in the ACS Commons "Reports" tool.

 

To break it down, I think I would need to figure out how a link is defined in AEM. Once that is defined I would need to figure out how to display that in the report, as shown in either of the tables above.

 

Any guidance would be appreciated. Thank you!

1 Reply

Avatar

Employee Advisor

Hi,

  1. ACS Commons Reports Documentation
  2. Activity Map Links Report
  3. Link Checker Configuration

By following these steps, you can effectively generate a report listing all links found on pages under a given path in AEM. If you need further customization, you can modify the Groovy script or the report configuration accordingly.