


Hi Folks,
I am facing one issue with XF and Target integration. When export XF to target, href value is replacing with the site URL. example is "href="javascript:void()" is replacing with "http://example.comnull".
How I can prevent overriding href value in target. It would be great if you can share any fix or suggestions about this.
Thanks!,
Unnikrishnan
Solved! Go to Solution.
Views
Replies
Sign in to like this content
Total Likes
Hi @Unnikrishnan-DK - What you are observing is the OOTB feature of AEM, where it externalizes the url's within the XF HTML when exported to target. This should not cause any issue with the Target use cases.
If the malformed url http://example.comnull is the concern, try updating the href value in your HTML to "href=#".
For some reason if you don't want externalization to happen, then revert your custom changes and custom domain from the "Day CQ Link Externalizer" OSGI config at location "/system/console/configMgr/com.day.cq.commons.impl.ExternalizerImpl" in Author instance only.
Thanks,
Fani
Hi @Unnikrishnan-DK - What you are observing is the OOTB feature of AEM, where it externalizes the url's within the XF HTML when exported to target. This should not cause any issue with the Target use cases.
If the malformed url http://example.comnull is the concern, try updating the href value in your HTML to "href=#".
For some reason if you don't want externalization to happen, then revert your custom changes and custom domain from the "Day CQ Link Externalizer" OSGI config at location "/system/console/configMgr/com.day.cq.commons.impl.ExternalizerImpl" in Author instance only.
Thanks,
Fani
Thank you for suggesstion. Let me check and update you soon
Hi ,
if tryied with #, we are getting "#" in url , is there any option with "javascript:void()" approch
Thanks!,
Unnikrishnan