Skip to main content
Level 2
Aug 30, 2024 9:03 PM UTC
Solved

Report on Links

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ManviSharma
ManviSharmaAccepted solution
Adobe Employee
Sep 2, 2024 6:33 PM UTC

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.

2 replies

ManviSharma
Adobe Employee
ManviSharmaAdobe EmployeeAccepted solution
Adobe Employee
Sep 2, 2024 6:33 PM UTC

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.

Translate
kautuk_sahni
Level 9
Feb 18, 2025 8:15 AM UTC

@blue-dog Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!

Translate
Kautuk Sahni