Search found 11 matches

by ahauser
06 Oct 2020, 11:58
Forum: OTRS Developers
Topic: Getting Dynamic Agent Prefences
Replies: 1
Views: 129

Getting Dynamic Agent Prefences

Hi, I'm using some custom agent prefences using a XML file like PreferencesGroup###MyPreference It appears in the agent prerences interface with a field, corresponding to the key called "Key". I would like to get this preference, and change some interface elements depending on that preference. I fou...
by ahauser
06 Oct 2020, 09:27
Forum: OTRS Developers
Topic: Create a new environment variable using LDAP parameters
Replies: 17
Views: 631

[Solved] Re: Create a new environment variable using LDAP parameters

As my initial question is solved, I will create new posts for other related questions.
by ahauser
21 Sep 2020, 12:05
Forum: OTRS Developers
Topic: Create a new environment variable using LDAP parameters
Replies: 17
Views: 631

Re: Create a new environment variable using LDAP parameters

For me this works :

<OTRS_CURRENT_UserCity>
by ahauser
16 Sep 2020, 15:24
Forum: OTRS Developers
Topic: Create a new environment variable using LDAP parameters
Replies: 17
Views: 631

Re: Create a new environment variable using LDAP parameters

Thanks a lot, it works !

However, on one of the development server we're using, the password is removed everytime after login.
I don't see any other differences except this server doesn't have a SSO login configured.
Could it be related ?
Any ideas ?
by ahauser
31 Aug 2020, 16:39
Forum: OTRS Developers
Topic: Create a new environment variable using LDAP parameters
Replies: 17
Views: 631

Re: Create a new environment variable using LDAP parameters

Actually it seems I was missing the part with : $Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP'; $Self->{'AuthSyncModule::LDAP::XXX'} = I don't get it : it works with your example, I can display the phone number on the page using UserPhoneNumber, but if I try wih something else it doe...
by ahauser
28 Aug 2020, 11:53
Forum: OTRS Developers
Topic: Create a new environment variable using LDAP parameters
Replies: 17
Views: 631

Re: Create a new environment variable using LDAP parameters

$Self->{'AuthSyncModule::LDAP::UserSyncMap2'} = { # DB -> LDAP UserFirstname => 'givenName', UserLastname => 'sn', UserEmail => 'mail', UserPhoneNumber => 'telephonenumber', }; Did you write a new Module in Custom/Kernel/ adding a modification of System/Auth/Sync/LDAP.pm ? What did you change from ...
by ahauser
21 Aug 2020, 15:39
Forum: OTRS Developers
Topic: Create a new environment variable using LDAP parameters
Replies: 17
Views: 631

Re: Create a new environment variable using LDAP parameters

Then I'm thinking about another solution : All our agents also exists as customer users which contain the right attributes. Would it be possible to perform a search on a User with the same ID than the Agent, get a specific attribute and store it into an environment variable in order to use that on a...
by ahauser
21 Aug 2020, 15:00
Forum: OTRS Developers
Topic: Create a new environment variable using LDAP parameters
Replies: 17
Views: 631

Re: Create a new environment variable using LDAP parameters

Maybe adding a new field in the Agent informations and fill it with the mapping would make more sense ?
Then would it be accessible from any page ?
by ahauser
21 Aug 2020, 14:54
Forum: OTRS Developers
Topic: Create a new environment variable using LDAP parameters
Replies: 17
Views: 631

Re: Create a new environment variable using LDAP parameters

Hi Roy, I'm trying to access it from the different overviews in the Agent interface. I'm not trying to get the ticket data, but the data from the currently connected Agent viewing the page. (who also exist as a user with all the LDAP attributes) The mapping we use for this in Config.pm is like this ...
by ahauser
21 Aug 2020, 11:49
Forum: OTRS Developers
Topic: Create a new environment variable using LDAP parameters
Replies: 17
Views: 631

Create a new environment variable using LDAP parameters

Hi, I would like to get a LDAP parameter from the currently connected user and define it into an environment variable. The idea would be to be able to call something from a template similar to [% Data.CurrentUserID %] but containing a specific LDAP attribute of the connected user, not just it's ID, ...
by ahauser
19 May 2017, 10:16
Forum: General
Topic: Parameters displayed in FAQ search
Replies: 0
Views: 601

Parameters displayed in FAQ search

Hi, I would like if there is a way to change what parameters are displayed in the search FAQ function. I found the following entry : Frontend::Agent::FAQ::ViewSearch but for example I don't find any way to hide the language parameters and time restriction. It seems a bit complicated for the user to ...