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

Approach for a multi-site customer service

afernandezq
Explorer
0 Kudos
2,466

Dear all, SAP Commerce offers OOTB customer service, which is a customized backoffice defined in the file
hybris/bin/modules/customer-service/customersupportbackoffice/resources/customersupportbackoffice-backoffice-config.xml
of the customersupportbackoffice extension for the roles customersupportadministratorrole, customersupportmanagerrole, and customersupportagentrole.

Now, let’s suppose we want to use the CS cockpit in 2 different sites and, for example, we want to display different tabs or different data in orders or other types of data, since these sites sell products with different typologies.

The data visibility for one site or another I can easily solve by creating different SiteEmployeeGroups for site1 and site2, but the challenge lies in the part of having different views.

My first idea was to create new roles extending customersupportadministratorrole, customersupportmanagerrole, and customersupportagentrole. For example: site1customersupportadministratorrole, site1customersupportmanagerrole, site1customersupportagentrole, and site2customersupportadministratorrole, site2customersupportmanagerrole, site2customersupportagentrole. But if I’m not mistaken, this does not work because there is no inheritance at the UI visualization level, unlike what happens at the data level with access rights.

So I would like to know what would be the best approach for this case. What comes to mind is copying the entire configuration from
hybris/bin/modules/customer-service/customersupportbackoffice/resources/customersupportbackoffice-backoffice-config.xml
for the new roles (site1customersupportadministratorrole, site1customersupportmanagerrole, site1customersupportagentrole and site2customersupportadministratorrole, site2customersupportmanagerrole, site2customersupportagentrole) and customizing each of them from there, but I’m not sure if there is a better approach.

Thanks.

View Entire Topic
balaji_k1
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello afernandezq,

You  will need to dive deeper into the UI rendering logic. For more complex requirements, overriding the existing code will be necessary, which will involve custom implementation on your part

I recommend listing all the requirements and then addressing each one individually to determine how best to achieve them

 

Regards

Balaji