on 2018 Aug 08 6:34 PM
Hello,
How can I customize the home page that shows up after login depending on the current logged user. I want to show different homepages depending on the group of the user.
Note: Hybris version: 6.7
Thanks in advance.
Request clarification before answering.
Hi ,
If you mean a default perspective depending on user group, then you can define proper configuration for Perspective Chooser (there is a defaultPerspective attribute), i.e.:
<context component="perspective-chooser" principal="someUserGroup">
<perspective-chooser>
<defaultPerspective name="perspectiveOfYourChoice"/>
</perspective-chooser>
</context>
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, I am sorry if my question didn't come up as clear. My question is, where should we define the perspective, is it in the file backoffice-backoffice-config.xml ?
Isn't there a Hybris wiki page that explains this procedure of overriding the default hybris perspective for the usergroup (for example an admin user shouldn't find the default administration perspective after login, but another perspective).
Thank you for your time.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.