Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Landing Page

Kaustav_Majoomd
Level 3
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
Mshajiahmed
Correct answer by
Level 8
Level 8

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
Mshajiahmed
Correct answer by
Level 8
Level 8

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

smacdonald2008
Level 10
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.