Hi people,

I need some help. I have mapped OTRS and AD (LDAP), and I'd like add collumn to the dashboard to show the department where the ticket come from, but it brings no data.

The mapping is the following. Thanks.

 Map => [
            # note: Login, Email and CustomerID needed!
            # var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly
            [ 'UserTitle',      'Title',      'title',           1, 0, 'var', '', 1 ],
            [ 'UserFirstname',  'Firstname',  'givenname',       1, 0, 'var', '', 1 ],
            [ 'UserLastname',   'Lastname',   'sn',              1, 0, 'var', '', 1 ],
            [ 'UserLogin',      'Username',   'sAMAccountName',  1, 1, 'var', '', 1 ],
            [ 'UserEmail',      'Email',      'mail',            1, 1, 'var', '', 1 ],
            [ 'UserCustomerID', 'CustomerID', 'sAMAccountName',  1, 1, 'var', '', 1 ],
            [ 'UserCustomerIDs','CustomerIDs','department',     1, 0, 'var', '', 1 ],
            [ 'UserPhone',      'Phone',      'telephonenumber', 1, 0, 'var', '', 1 ],
            [ 'UserComment',    'Comment',    'description',     1, 0, 'var', '', 1 ],
            [ 'UserStreet',     'Street',     'streetAddress',   1, 0, 'var', '', 1 ],
            [ 'UserZip',        'Zip',        'zip',             1, 0, 'var', '', 1 ],
            [ 'UserCity',       'City',       'l',               1, 0, 'var', '', 1 ],
            [ 'UserCountry',    'Country',    'co',              1, 0, 'var', '', 1 ],
        ],




2014-04-14 23:31 GMT-03:00 André Cavalcante <treba.andre@gmail.com>:
What have you tried? I've set CustomerID = department (LDAP)
What is the result? It brings no result.
Did you get any error messages? No error messages
How is the result not what you wanted/expected? It brings no result at all, It should companys name.
What did you search for to achieve your results? I'd like to add a collumn to dashboard to show each tickts company
How may random person -- who might be able to help you -- replicate your results? I can send some files .dtl or the otrs-ldap mapping

When I go to Customer Information Center the company is shown ok.


2014-04-14 22:39 GMT-03:00 Gerald Young <crythias@gmail.com>:

>No success so far...
This is quite difficult to troubleshoot.

What have you tried?
What is the result?
Did you get any error messages?
How is the result not what you wanted/expected?
What did you search for to achieve your results?
How may random person -- who might be able to help you -- replicate your results?
>During LDAP integration with OTRS, we have mapped CustomerIDs (OTRS) = department (LDAP), but it brings no value to the column I’ve added to the dashboard. 
>            [ 'UserCustomerID', 'CustomerID', 'sAMAccountName',  1, 1, 'var', '', 1 ],
>            [ 'UserCustomerIDs','CustomerIDs','department',     1, 0, 'var', '', 1 ],
>> Would be correct to the the following?
>
> CustomerID = department
> CustomerIDs = nothing

The ldap attribute department shows?
Your current Map is ...

And you expect what to happen?
And what actually happens?


On Mon, Apr 14, 2014 at 9:21 PM, André Cavalcante <treba.andre@gmail.com> wrote:
Hi there,

No success so far...

Em segunda-feira, 14 de abril de 2014, Mathias Braeunling <mathias.otrsmailinglists@gmail.com> escreveu:

Hi,

Am 08.04.14 16:01, schrieb André Cavalcante:
> Would be correct to the the following?
>
> CustomerID = department
> CustomerIDs = nothing
>
>
I'd also suggest this setup.
You can also check if the setup is correct by going to the customer
information center and selecting a customer user name (lower field). If
configured correctly it will load up the info center for the department
(e.g. 'Team IT') and list all members of that department (= all customer
users who share the same customer id).

This also allows the use of the company tickets option in the customer
interface.

--Mathias
---------------------------------------------------------------------
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


--
André Luiz C. e Cavalcante
Coordenador de Eleições
TRE-BA / STI / COELE


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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



--
André Luiz C. e Cavalcante
Coordenador de Eleições
TRE-BA / STI / COELE



--
André Luiz C. e Cavalcante
Coordenador de Eleições
TRE-BA / STI / COELE