Expand my Community achievements bar.

SOLVED

Landing Page

Avatar

Level 3

Hi,

I have one requirement to change the landing page, based on specific role. For example, if A is logging into AEM, he will be landing into "welcome.html" page, and if B is logging into the same AEM, he will be landing into "projects.html" page. Is it possible to achieve this? If yes, then please let me know the steps.

 

Regards,

Kaustav Majoomder

1 Accepted Solution

Avatar

Correct answer by
Level 9

I believe you have to write overlay for /libs/cq/core/config.author/com.day.cq.commons.servlets.RootMappingServlet 

This node has a property rootmapping.target which is where it gets landed.

 you might have to come up with similar class and write a logic in the servlet and peform appropriate action.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 9

I believe you have to write overlay for /libs/cq/core/config.author/com.day.cq.commons.servlets.RootMappingServlet 

This node has a property rootmapping.target which is where it gets landed.

 you might have to come up with similar class and write a logic in the servlet and peform appropriate action.

Avatar

Level 10

See these AEM topics:

http://docs.adobe.com/docs/en/cq/current/wcm/campaigns/landingpages.html

http://docs.adobe.com/docs/en/cq/current/wcm/content-targeting.html

An landing page campaign may address your needs:

IMPLEMENTING A LANDING PAGE CAMPAIGN

Landing Page campaigns target visitor segments with specific content according to the source or page that they previously clicked or visited.  For example, your online advertisements use different images to target different segments. When clicked, each image opens the same page. However, the image that was clicked determines the page content.