Hello All,
I am looking at an Adobe forum post where the link rewrite is happening. How is the LinkTransformer class triggered? For example if I am testing this in local, and put a debug inside the class does a page refresh get to this class?
Thanks..
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
If you are testing in local without dispatcher or any caching. Then on every refresh it will be called. To get more details enable debug on org.apache.sling.rewriter
Coming to Trigger at high level there will be servlet filter which calls it. To find out which processor is picked Or if custom one is called verify at http://host:port/system/console/requests by selecting your page.
Thanks,
Hi,
We have an community article which talks about Link rewritter in AEM.
Creating a Link Rewriter for Adobe Experience Manager
//https://helpx.adobe.com/experience-manager/using/creating-link-rewrite.html
Hope this helps!
~ Ratna.
Hi Ratna,
Thanks for the link, I had gone through the link, but couldn't find how the binding is happening (In case there is can you please point that?) to the factory classes. (I was using this reference post). Later I found Apache Sling doc, that we need to configure the processors as child node of /apps/APPNAME/config/rewriter
Hi,
If you are testing in local without dispatcher or any caching. Then on every refresh it will be called. To get more details enable debug on org.apache.sling.rewriter
Coming to Trigger at high level there will be servlet filter which calls it. To find out which processor is picked Or if custom one is called verify at http://host:port/system/console/requests by selecting your page.
Thanks,
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies