cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to customize the backoffice homepage after login

Former Member
0 Kudos
798

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member625836
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thank You! It's exactly what I needed.

Former Member
0 Kudos

Can you help me with one other thing, where can I customize this "perspectiveOfYourChoice". Couldn't really find a wiki page for this.

former_member625836
Active Contributor
0 Kudos

I don't really get the question. You need to replace perspectiveOfYourChoice with id of a perspective you wish to be a default one.

Former Member
0 Kudos

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.

Answers (0)