Expand my Community achievements bar.

SOLVED

Disable AEM's ink checker using cURL

Avatar

Level 1

As per this article - https://helpx.adobe.com/experience-manager/kb/DisableLinkChecker.html to disable link checker in AEM we need to follow these steps -

Disable all link checking by configuration

  1. Go to /system/console/configMgr and login as admin.
  2. Find the "Link Checker Transformer"
  3. Check the "Disable Checking" box and save
  4. Go to /crx/explorer and login as admin
  5. Open "Content Explorer"
  6. Browse to /var/linkchecker
  7. Right click the node and select "Delete Recursively"
  8. Click "Save All"

I want to include disabling link checker as a part of my AEM server's deployment/setup script. Is there a way to do this using cURL?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

I was checking if something can be done from JMX but no operations are define there for link checker.

I would suggest create a sling servlet which will be called via CURL.

This servlet will change configuration and will delete the node.



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

I was checking if something can be done from JMX but no operations are define there for link checker.

I would suggest create a sling servlet which will be called via CURL.

This servlet will change configuration and will delete the node.



Arun Patidar

Avatar

Level 3

You can add OSGI config based on your run mode to disable. Which can be in source code and will be part of code deployment.