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

How can set Customer-Support perspective to my custom Employee?

Former Member
0 Kudos
546

Hi experts, I created my custom group and employee who has this group. I did everything right and I want mine custom employee to use the same perspective he uses CustomerSupportAgent. So when login with my custom employee to see Customer-Support perspective, not the Administration perspective. How can I do this?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member625836
Active Contributor
0 Kudos

Hi ,

You can easily achieve it setting proper configuration for Perspective Chooser. Please take a look at documentation for further information.

Cheers, Jacek

Former Member
0 Kudos

Hi , this is my code, but it doesn't work 😐

 <context component="perspective-chooser" principal="customersupportchangeorderrequestrole" merge-by="principal">
     <vs:perspective-chooser xmlns:vs="http://www.hybris.com/cockpitng/config/perspectiveChooser">
         <vs:defaultPerspective name="CustomerSupport-Perspective"/>
         <vs:authority name="customersupportchangeorderrequest">
             <vs:perspective id="CustomerSupport-Perspective"/>
         </vs:authority>
     </vs:perspective-chooser>
 </context>
 
 <context component="perspective-view-switcher" principal="customersupportchangeorderrequestrole" merge-by="principal">
     <vs:view-switcher xmlns:vs="http://www.hybris.com/cockpitng/config/viewSwitcher">
         <vs:authority name="customersupportchangeorderrequest">
             <vs:view id="CustomerSupport-Perspective" />
         </vs:authority>
     </vs:view-switcher>
 </context>

where is the problem, I'm fighting with this from yestarday. I will be glad if can you help me - customersupportchangeorderrequestrole is my custom role I have and customersupportchangeorderrequestgroup

this is my impex for employee:

 **INSERT_UPDATE CsAgentGroup;UID[unique=true];locname[lang=en];groups(uid)[mode=append];description**

;customersupportchangeorderrequestgroup;Customer Support Change Order Request Group;;

 **INSERT_UPDATE BackofficeRole;UID[unique=true];backOfficeLoginDisabled;authorities**

;customersupportchangeorderrequestrole;FALSE;customersupportchangeorderrequest