Hi all:
I found the solution myself, one must use ### without quotes to access
this kind of sub keys for example:
If one need to generate in the zzaouto.pm an entry like this
$Self->{'Ticket::Frontend::AgentTicketPriority'}->{'RequiredLock'} = '0';
This is the code to do it
sub UploadConfig{
my $Self = shift;
my %Param = @_;
$Self->{ConfigToolObject}->ConfigItemUpdate(
Valid => 1,
Key => 'Ticket::Frontend::AgentTicketPriority###RequiredLock',
Value => '0',
);
Saludos / Regards,
Carlos Fernando Rodríguez Hdz.
_____
DUX DILIGENS, S.A de C.V.
Av. Arcos 267, Col. Arcos Sur
44130 Guadalajara, Jalisco, Mexico
From: [email protected] [mailto:[email protected]] On Behalf Of Carlos
Fernando Rodríguez Hdz
Sent: Tuesday, May 26, 2009 5:59 PM
To: 'Development community of OTRS.org'
Subject: [dev] ConfigItemUpdate (Subkey)
Hi all
Im using the ConfigItemUpdate function, from Kernel::System::Config, it
works very well with simple Key Value configurations but now I need to use
it to generate something like
$Self->{'Ticket::Frontend::AgentTicketPriority'}->{'RequiredLock'} = '0';
Ive try using two keys but it only put the last of them in the zzauto.pm
Does anyone know how to do this?
Saludos / Regards,
Carlos Fernando Rodríguez Hdz.
---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/