How to show different welcome screen based on Group access in AEM 6.3? | Community
Skip to main content
nagasreenug4839
Level 2
Aug 29, 2018 1:39 PM UTC
Solved

How to show different welcome screen based on Group access in AEM 6.3?

Hi

Recently we got requirement from client, Based on Group access we need to show different welcome screen in AEM 6.3

For example: If we have two groups "Classic-User-Group" and "Touch-User-Group"

If user belongs to touch UI group,We need to show only touch UI consoles,If user belongs classic, needs to show only classic ui consoles.

(Note: Should need to work with only groups, User is not ready to change the preference settings )

Thanks,

Sree

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
Aug 29, 2018 2:31 PM UTC

4 replies

nagasreenug4839
Level 2
Sep 3, 2018 12:29 PM UTC

Thank You Arun for quick response,

I think filter would execute for every request, I will try with this solution.

Translate
arunpatidar
New Participant
Aug 29, 2018 3:28 PM UTC

Agree with Endoriel, can be done by filter.

example - aem63app-repo/CustomScreenFilter.java at master · arunpatidar02/aem63app-repo · GitHub

Translate
Arun Patidar
edubey
edubeyAccepted solution
Level 10
Aug 29, 2018 2:31 PM UTC

Not possible OOTB but should be achieved by small piece of code.

You can add servlet and update root mapping, details can be found in summit session

https://github.com/Adobe-Marketing-Cloud/Summit2018/tree/L729/exercise1#3-dynamic-start-page

https://github.com/Adobe-Marketing-Cloud/Summit2018/blob/L729/code/L729/core/src/main/java/adobesummit/core/servlets/DefaultPageServlet.java

Translate
Endoriel
Level 2
Aug 29, 2018 2:27 PM UTC

I think achieving this as a CMS customisation would be difficult and also applying the authoringMode at group level would be tricky.

I would probably do this as a Filter with an OSGI configuration where you could add the user groups that go to classic vs touch. The filter would redirect to /cf# or /editor.html for pages and to /siteadmin or /aem/start.html for the landing page.

Translate