Landing Page | Community
Skip to main content
Level 3
October 16, 2015
Solved

Landing Page

  • October 16, 2015
  • 2 replies
  • 1310 views

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

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 Mshaji

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.

2 replies

MshajiCommunity AdvisorAccepted solution
Community Advisor
October 16, 2015

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.

smacdonald2008
Level 10
October 16, 2015

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.