PreferencesGroups###DynamicField

Moderator: crythias

Locked
otrsgsy
Znuny newbie
Posts: 16
Joined: 17 Aug 2012, 12:50
Znuny Version: 3.1.8
Real Name: Dan

PreferencesGroups###DynamicField

Post by otrsgsy »

Has anyone got any experience of using the 'PreferencesGroups###DynamicField' function where you should be able to configure the default value of a dynamic field in an individual agents preferences?

Requirement:
We currently have two different groups of agents using the system (IT and Project) and the IT group would like to have a 'System' dynamic field made mandatory only for them and not for the Project group.

According to the documentation (http://doc.otrs.org/3.1/de/html/dynamic ... ces-defaut) the PreferencesGroups###DynamicField function sounds like it could work as all agents in the Project group could have a pre-defined value that should be automatically selected by the field when creating a new ticket.

Unfortunately I cannot get the field to be auto-populated when creating a new ticket with the following settings:

Key ( content )
Active ( 1 )
Block ( Input )
Column ( Other Settings )
Data ( $Env{"UserDynamicField_System"} )
Event ( TicketCreate )
Key ( System )
Label ( Default Value for: System )
Module ( Kernel::Output::HTML::PreferencesGeneric )
PrefKey ( UserDynamicField_System )
Prio ( 7000 )

The field does appear in the agent preferences and I have tried completing it with either a key or value from the System dropdown dynamic field.

Any help would be appreciated.

Thanks
OTRS 3.1.12
Ubuntu
MYSQL DB
Locked