Skip to Content
0
May 08, 2018 at 08:25 AM

How to reuse OOB Customer Support perspective in newly created extension?

140 Views

Hi, I have created a new extension by using 'ybackoffice' named as trainingcustomersupportbackoffice And have created a new backoffice role in newly created extension i.e., "trainingcustomersupportagentrole" which is an exact copy of "customersupportagentrole". I have also created a new user and assigned the newly created role (trainingcustomersupportagentrole) to that user. If I am trying to login to backoffice by using newly created user. I am not able to see the customer support perspective OOB Logic: In *config.xml file

component="perspective-chooser" principal="customersupportagentrole"> http://www.hybris.com/cockpitng/config/perspectiveChooser">

to provide the access to this role, They have defined in *widgets.xml file like below

id="CustomerSupport-Perspective" widgetDefinitionId="com.hybris.cockpitng.borderlayout" slotId="perspectives" title="customersupport_backoffice_perspective_name" template="false" access="customersupportagentrole">

In my newly created extension logic like below in *config.xml file:

component="perspective-chooser" principal="trainingcustomersupportagentrole"> http://www.hybris.com/cockpitng/config/perspectiveChooser">

here If I login with newly created user, i want to see the customer support perspective(OOB) and do the some customization on same.

How to extend the OOB cutomer support perspective. Any help on this is appreciated. am using Hybris 6.6