How do I make a picklist from a field

Hi Folks, I just added a couple of fields to the CustomerUser page. All these fields are currently just textfields but I want to turn a couple of them into a picklist. I have for example an Account Manager field and I want to make a selection of the users that are in the group Account Managers. Any tips? Regards, Jorick Astrego IBM Certified System Administrator - Lotus Notes and Domino Quality On-Line® Hengelosestraat 501 P.O. Box 1414 NL-7500 BK Enschede the Netherlands Phone +31 53 4809090 Fax +31 53 4342040 Internet http://www.qualityonline.nl

Hi Jorick, On Thu, Feb 26, 2004 at 05:36:49PM +0100, Jorick Astrego wrote:
I just added a couple of fields to the CustomerUser page. All these fields are currently just textfields but I want to turn a couple of them into a picklist. I have for example an Account Manager field and I want to make a selection of the users that are in the group Account Managers.
I would do this by customer preferences (so you also don't need a extra fields in your customer table). So you just need to configure otrs (no source code changes). For example: Kernel/Config.pm [...] $Self->{CustomerPreferencesView} = { Frontend => [ 'ShownTickets', 'RefreshTime', 'Language', 'Theme', ], 'Other Options' => [ 'Password', 'ClosedTickets', 'SomeNewOption', ], }; $Self->{CustomerPreferencesGroups}->{SomeNewOption} = { Colum => 'Other Options', Label => 'Some Text', Desc => 'Some Detail Text.', Type => 'Generic', Data => { 'Account A' => 'Account A', 'Account B' => 'Account B', 'Account C' => 'Account C', 'Account D' => 'Account D', }, DataSelected => 'Account C', PrefKey => 'UserAccountManager', Activ => 1, }; [...] PS: If Activ is 0, the just the admin can change this.
Jorick Astrego IBM Certified System Administrator - Lotus Notes and Domino
Quality On-Line® Hengelosestraat 501 P.O. Box 1414 NL-7500 BK Enschede the Netherlands
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (2)
-
Jorick Astrego
-
Martin Edenhofer