CustomerUser of multiple Customers in CustomerInformationCenter

English! place to talk about OTRS development, programming and coding
Post Reply
RStraub
OTRS guru
Posts: 2207
Joined: 13 Mar 2014, 09:16
OTRS Version?: 6.0.14
Real Name: Rolf Straub

CustomerUser of multiple Customers in CustomerInformationCenter

Post by RStraub »

Dear forum,

we recently had the need to add a CustomerUser to multiple Customers AND list them in the CIC.

The manual explains how you can make the changes to the backend (DB & Config.pm) so that the customers can see all tickets of the companys. They are however not shown in the Customer Information Center.

To do so:
Prepare the backend according to the manual:
https://doc.otrs.com/doc/manual/admin/6 ... kends.html

* Add the table to the DB
* Add the identifier to the map

Code: Select all

[ 'UserCustomerIDs', 'CustomerIDs', 'customer_ids', 1, 0, 'var', '', 0 ],
* Addtionally add an identifier above the map, e.g.

Code: Select all

CustomerIDs => 'customer_ids',
* Copy

Code: Select all

Kernel/System/CustomerUser/DB.pm 
to

Code: Select all

Custom/Kernel/System/CustomerUser/DB.pm 
and apply these changes:
https://github.com/OTRS/otrs/pull/2011/files
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS

Post Reply