Skip to Content

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

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 12, 2019 at 09:13 AM

    Hi ,

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

    Cheers, Jacek

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.