Hi,
Please add the configuration on the attached file. I have installed the last
version 4.0.7., please make sure if this configuration is compatible with your
ORTS version.
After that, reload your OTRS service.
Marco
De: [email protected] [mailto:[email protected]] Em nome de Daniel
D'Agostino
Enviada: segunda-feira, 6 de Abril de 2015 17:56
Para: OTRS
Assunto: Re: [itsm] Emails and customer users
Marco, hi.
I tried to find the line you told me, but i couldnt find it.
Please send me the right sintay to add the line.
Thanks.
Daniel.
________________________________
From: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Date: Thu, 2 Apr 2015 10:24:12 +0100
Subject: Re: [itsm] Emails and customer users
Hi,
Yes, it's possible. You need to change your configuration, change the value of
CustomerUserEmailUniqCheck to 0 in Config.pm file.
Example :
CustomerUserEmailUniqCheck => 0,
Marco
De: [email protected]<mailto:[email protected]>
[mailto:[email protected]] Em nome de Daniel D'Agostino
Enviada: quarta-feira, 1 de Abril de 2015 21:44
Para: OTRS
Assunto: [itsm] Emails and customer users
Hi,
I am using the OTRS version 3.3.9.
I create a customer user and I assign him an email address.
Later, I create another customer users with the same email address from the
previous customer, but OTRS does not allow to assign that address to two
customers.
¿Is there any way to enable that?
Thank you in advance.
Daniel.
--------------------------------------------------------------------- OTRS
mailing list: itsm - Webpage: http://otrs.org/ Archive:
http://lists.otrs.org/pipermail/itsm To unsubscribe:
http://lists.otrs.org/mailman/listinfo/itsm
# CustomerUser
# (customer user database backend and settings)
$Self->{CustomerUser} = {
Name => 'Database Backend',
Module => 'Kernel::System::CustomerUser::DB',
Params => {
# if you want to use an external database, add the
# required settings
# DSN => 'DBI:odbc:yourdsn',
# Type => 'mssql', # only for ODBC connections
# DSN => 'DBI:mysql:database=customerdb;host=customerdbhost',
# User => '',
# Password => '',
Table => 'customer_user',
# ForeignDB => 0, # set this to 1 if your table does not have
create_time, create_by, change_time and change_by fields
# CaseSensitive will control if the SQL statements need LOWER()
# function calls to work case insensitively. Setting this to
# 1 will improve performance dramatically on large databases.
CaseSensitive => 0,
},
# customer unique id
CustomerKey => 'login',
# customer #
CustomerID => 'customer_id',
CustomerValid => 'valid_id',
# The last field must always be the email address so that a valid
# email address like "John Doe" <[email protected]> can be
constructed from the fields.
CustomerUserListFields => [ 'first_name', 'last_name', 'email' ],
# CustomerUserListFields => ['login', 'first_name', 'last_name',
'customer_id', 'email'],
CustomerUserSearchFields => [ 'login', 'first_name',
'last_name', 'customer_id','phone' ],
CustomerUserSearchPrefix => '*',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 250,
CustomerUserPostMasterSearchFields => ['email'],
CustomerUserNameFields => [ 'title', 'first_name',
'last_name' ],
CustomerUserEmailUniqCheck => 0,
# # show now own tickets in customer panel, CompanyTickets
# CustomerUserExcludePrimaryCustomerID => 0,
# # generate auto logins
# AutoLoginCreation => 0,
# # generate auto login prefix
# AutoLoginCreationPrefix => 'auto',
# # admin can change customer preferences
# AdminSetPreferences => 1,
# # use customer company support (reference to company, See
CustomerCompany settings)
# CustomerCompanySupport => 1,
# cache time to live in sec. - cache any database queries
CacheTTL => 60 * 60 * 24,
# # just a read only source
# ReadOnly => 1,
Map => [
# note: Login, Email and CustomerID needed!
# var, frontend, storage, shown (1=always,2=lite), required,
storage-type, http-link, readonly, http-link-target, link class(es)
[ 'UserTitle', 'Title', 'title', 1, 0, 'var', '', 0
],
[ 'UserFirstname', 'Firstname', 'first_name', 1, 1, 'var', '', 0
],
[ 'UserLastname', 'Lastname', 'last_name', 1, 1, 'var', '', 0
],
[ 'UserLogin', 'Username', 'login', 1, 1, 'var', '', 0
],
[ 'UserPassword', 'Password', 'pw', 0, 0, 'var', '', 0
],
[ 'UserEmail', 'Email', 'email', 1, 1, 'var', '', 0
],
# [ 'UserEmail', 'Email', 'email', 1, 1, 'var', '[%
Env("CGIHandle") %]?Action=AgentTicketCompose;ResponseID=1;TicketID=[%
Data.TicketID | uri %];ArticleID=[% Data.ArticleID | uri %]', 0, '', 'AsPopup
OTRSPopup_TicketAction' ],
[ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var', '', 0
],
# [ 'UserCustomerIDs', 'CustomerIDs', 'customer_ids', 1, 0, 'var',
'', 0 ],
[ 'UserPhone', 'Phone', 'phone', 1, 0, 'var',
'', 0 ],
[ 'UserFax', 'Fax', 'fax', 1, 0, 'var',
'', 0 ],
[ 'UserMobile', 'Mobile', 'mobile', 1, 0, 'var',
'', 0 ],
[ 'UserStreet', 'Street', 'street', 1, 0, 'var',
'', 0 ],
[ 'UserZip', 'Zip', 'zip', 1, 0, 'var',
'', 0 ],
[ 'UserCity', 'City', 'city', 1, 0, 'var',
'', 0 ],
[ 'UserCountry', 'Country', 'country', 1, 0, 'var',
'', 0 ],
[ 'UserComment', 'Comment', 'comments', 1, 0, 'var',
'', 0 ],
[ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int',
'', 0 ],
],
# default selections
Selections => {
# UserTitle => {
# 'Mr.' => 'Mr.',
# 'Mrs.' => 'Mrs.',
# },
},
};
---------------------------------------------------------------------
OTRS mailing list: itsm - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/itsm
To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm