Fill Dynamic Field with LDAP information

Moderator: crythias

Locked
PhilippS
Znuny newbie
Posts: 4
Joined: 08 Nov 2016, 11:31
Znuny Version: 3.3.13

Fill Dynamic Field with LDAP information

Post by PhilippS »

Dear all,

i am a newbie with OTRS and we are using the Windows Version of OTRS.
I created a dynamic field which should hold information about the department of a customer. This is needed to filter all tickets to specific departments.

We are using the LDAP Backend for our customers so we are not using the internal database. So we cannot transfer the data from the customer to the dynamic field with "930-DynamicFieldFromCustomerUser".
I wrote a script to enter the necessary data into existing tickets through SQL Insert-Statements in the database dynamic_field_value.

But what can i do for all new tickets? Do i need to create a module and how can i do that? Is there an Out-of-the-box feature in OTRS 3.3.13?
Have i to change the internal ticket-create function?

So my procedure is:
1. A new ticket is created (through mail from customer or manual)
2. The customer information is set to the ticket through the LDAP-Backend
3. The dynamic field "department" has to be automatically updated through LDAP-Backend.

Thank you for your future help.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Fill Dynamic Field with LDAP information

Post by jojo »

DynamicFieldFromCustomerUser works also with LDAP (like a charm, because it was developed for this usecase).

But:

- 3.3. is outdated, unsecure and not supported
- Personally; I'm not giving help to Windows installations
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Fill Dynamic Field with LDAP information

Post by wurzel »

Hi,

... and the Store LDAP Information is not supported in 3.3.x AFAIR. You need a Version 5 for getting it running.

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Fill Dynamic Field with LDAP information

Post by jojo »

DynamicFieldFromCustomerUser was introduced in 3.3.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Fill Dynamic Field with LDAP information

Post by wurzel »

Hi,

ahh thanks. i thought it was later.

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Locked