on 2019 Feb 11 5:05 PM
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?
Request clarification before answering.
Hi ,
You can easily achieve it setting proper configuration for Perspective Chooser. Please take a look at documentation for further information.
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.