On 07/29/2010 01:42 PM, Egor Tsilenko wrote:
On 07/29/2010 01:11 PM, Egor Tsilenko wrote:
On 07/28/2010 12:36 PM, Torsten Thau wrote:
Hi,

  
I've tried to search Customer in Owner field. Everything seems to be ok,
but when I click select button to add customer to Config Item nothing
happen (Owner field became cleared).  Is it a bug?
    
There's no bug. It is most likely related to a wrong/incomplete customer
user backend configuration. If I remember right you should take care,
that the CustomerKey (e.g. 'uid') for the customer user backend is also
configured as CustomerUserSearchField.

regards, Torsten Thau

  
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
What I've got in config.pm

        # customer uniq id
        CustomerKey => 'login',

        # customer #
        CustomerID             => 'customer_id',
        CustomerValid          => 'valid_id',
        CustomerUserListFields => [ 'first_name', 'last_name', 'email' ],

        CustomerUserListFields => ['login', 'first_name', 'last_name', 'customer_id', 'email'],

Everything seems to be ok, but doesn't work :)
By the way what is CustomerUserListFields?

--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
Sorry, the right one config.pm with mapping:

 # customer uniq id
        CustomerKey => 'login',

        # customer #
        CustomerID             => 'customer_id',
        CustomerValid          => 'valid_id',
        CustomerUserListFields => [ 'first_name', 'last_name', 'email' ],

#        CustomerUserListFields => ['login', 'first_name', 'last_name', 'customer_id', 'email'],
        CustomerUserSearchFields           => [ 'login', 'first_name', 'last_name', 'customer_id' ],
        CustomerUserSearchPrefix           => '*',
        CustomerUserSearchSuffix           => '*',
        CustomerUserSearchListLimit        => 250,
        CustomerUserPostMasterSearchFields => ['email'],
        CustomerUserNameFields     => [ 'salutation', 'first_name', 'last_name' ],
        CustomerUserEmailUniqCheck => 0,

       Map => [

            # note: Login, Email and CustomerID needed!
            # var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly, http-link-target
            [ 'UserSalutation', 'Salutation', 'salutation', 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 ],
            [ 'UserCustomerID', 'CustomerID', 'customer_id', 1, 1, 'var', '', 0 ],
            [ 'UserCompanyID',  'CompanyID',  'company_id',  0, 1, 'var', '', 0 ],
            [ 'UserEmail',      'Email',      'email',      1, 1, 'var', '', 0 ],
            [ 'UserPhone',        'Phone',       'phone',        1, 0, 'var', '', 0 ],
            [ 'AddressU',      'AddressU',      'address_u',       1, 1, 'var', '', 0 ],
            [ 'AddressF',      'AddressF',      'address_f',       1, 1, 'var', '', 0 ],
            [ 'AddressP',      'AddressP',      'address_p',       1, 1, 'var', '', 0 ],
            [ 'Contacts',      'Conatcts',      'contacts',       1, 1, 'var', '', 0 ],
            [ 'UserComment',      'Comment',     'comments',     1, 0, 'var', '', 0 ],
            [ 'ValidID',          'Valid',       'valid_id',     0, 1, 'int', '', 0 ],
        ],

Any ideas what is wrong here?
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
I've attached screenshot of this issue. When I've tried to search Owner -- everything is ok, but when I've tried to click 'select button' nothing is happen (only refresh of the page). What is wrong with my config?

Thanks in advance

<<attachment: configItem.png>>

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to