newsletter selector | Community
Skip to main content
Level 2
October 16, 2015
Solved

newsletter selector

  • October 16, 2015
  • 3 replies
  • 1117 views

Hi everybody,

Could somebody explain me why CQ transforms all page links when I add 'newsletter' selector in a page URL?

For eg.

www.somecqsite.com/en/somepage.html

On this page I have a link to an other page, eg. www.somecqsite.com/en/anotherpage.html

If I add 'newsletter' selector, www.somecqsite.com/en/somepage.newsletter.html, then the link above would become like this:

www.somecqsite.com/en/anotherpage.newsletter.goto.html/${userUUID}?target=/en/anotherpage.html

Why is that so?

Can I get rid of it?

Regards,

Danijel

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

It is old soco component [1] & url you are getting is right.  Disable component from felix console as temp workaround.

What is aem version & your exact usecase?

http://docs.adobe.com/docs/en/cq/5-5/javadoc/com/day/cq/mcm/core/newsletter/NewsletterTransformerFactory.html

3 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

It is old soco component [1] & url you are getting is right.  Disable component from felix console as temp workaround.

What is aem version & your exact usecase?

http://docs.adobe.com/docs/en/cq/5-5/javadoc/com/day/cq/mcm/core/newsletter/NewsletterTransformerFactory.html

dbasicAuthor
Level 2
October 16, 2015

Hi Sham,

It's AEM 5.6.1. When I add newsletter selector inside any page URL, links which are rendered inside that page have the form with ${userUUID}. The behaviour is: whatever link is clicked, the current page is reloaded.

If I disable NewsletterTransformerFactory component, I will have the same problem until I click some link. After that, the page will be reloaded and links will be "fixed".

Do you know how to avoid the rendering of links in the form with ${userUUID} and goto selector whenever newsletter selector is present in a page URL?

Regards,

Danijel

CQdeveloper123
October 16, 2015

Were you able to find any solution for this?NewsletterTransformerFactory would be enabled once the AEM instance is restarted.