Hi,
Thanks for reply. You have a field on Customer User Manager screen called
CustomerIDs then? I am using a stock install 2.4.7 with mysql backend.
By default there are more columns so removed the extra columns as Defaults.pm has http-link, readonly, http-link-target. Now I believe it matches your columns of # var, frontend, storage, shown (1=always,2=lite), required, storage-type.
Code: Select all
Map => [
# note: Login, Email and CustomerID needed!
# var, frontend, storage, shown (1=always,2=lite), required, storage-type
[ 'UserSalutation', 'Salutation', 'salutation', 1, 0, 'var' ],
[ 'UserFirstname', 'Firstname', 'first_name', 1, 1, 'var' ],
[ 'UserLastname', 'Lastname', 'last_name', 1, 1, 'var' ],
[ 'UserLogin', 'Username', 'login', 1, 1, 'var' ],
[ 'UserPassword', 'Password', 'pw', 0, 0, 'var' ],
[ 'UserEmail', 'Email', 'email', 1, 1, 'var' ],
[ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var' ],
[ 'UserCustomerIDs', 'CustomerIDs', 'customer_ids', 1, 0, 'var' ],
[ 'UserPhone', 'Phone', 'phone', 1, 0, 'var' ],
[ 'UserFax', 'Fax', 'fax', 1, 0, 'var' ],
[ 'UserMobile', 'Mobile', 'mobile', 1, 0, 'var' ],
[ 'UserStreet', 'Street', 'street', 1, 0, 'var' ],
[ 'UserZip', 'Zip', 'zip', 1, 0, 'var' ],
[ 'UserCity', 'City', 'city', 1, 0, 'var' ],
[ 'UserCountry', 'Country', 'country', 1, 0, 'var' ],
[ 'UserComment', 'Comment', 'comments', 1, 0, 'var' ],
[ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int' ],
],
I have confirmed that customer_ids is in mysql customer_user table:
Code: Select all
mysql> show columns from customer_user;
+--------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+--------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| login | varchar(100) | NO | UNI | NULL | |
| email | varchar(150) | NO | | NULL | |
| customer_id | varchar(200) | NO | | NULL | |
| pw | varchar(50) | YES | | NULL | |
| salutation | varchar(50) | YES | | NULL | |
| first_name | varchar(100) | NO | | NULL | |
| last_name | varchar(100) | NO | | NULL | |
| phone | varchar(150) | YES | | NULL | |
| fax | varchar(150) | YES | | NULL | |
| mobile | varchar(150) | YES | | NULL | |
| street | varchar(150) | YES | | NULL | |
| zip | varchar(150) | YES | | NULL | |
| city | varchar(150) | YES | | NULL | |
| country | varchar(150) | YES | | NULL | |
| comments | varchar(250) | YES | | NULL | |
| valid_id | smallint(6) | NO | MUL | NULL | |
| create_time | datetime | NO | | NULL | |
| create_by | int(11) | NO | MUL | NULL | |
| change_time | datetime | NO | | NULL | |
| change_by | int(11) | NO | MUL | NULL | |
| customer_ids | varchar(250) | YES | | NULL | |
+--------------+--------------+------+-----+---------+----------------+
22 rows in set (0.00 sec)
I still have no CustomerIDs field.
To test I changed this line: [ 'UserSalutation', 'Salutation', 'salutation', 1, 0, 'var' ], to [ 'UserSalutation', 'SalutationXX', 'salutation', 1, 0, 'var' ], which I think would show me SalutationXX on Customer User Management page and that doesn't work.
Would you know where primary config file it seems like my Config.pm isn't being read otherwise SalutationXX would be shown. I've been combing through docs and online resources for a few days and it is probably something simple but I'm missing it. Meanwhile, I'm learning more about OTRS which appears to be a good thing.
Thanks,
Paul