How to get the value of a dynamic field in an event module ?

English! place to talk about development, programming and coding
Post Reply
Chambon
Znuny newbie
Posts: 2
Joined: 13 Jun 2012, 13:47
Znuny Version: 3.1.5
Real Name: Chambon
Company: IN2P3 / CNRS

How to get the value of a dynamic field in an event module ?

Post by Chambon »

How to get the value of a dynamic field in an event module ?

In details :
I want to run an action , using event, according to the value of a dynamic field
( dynamic field is a check box, let say "IsCompanyTicket")

The current situation :
Dynamic field created and associated to Customer ::Frontend
new ConfigItem added in Kernel/Config/Files/Ticket.xml
Event module created in Kernel/System/Ticket/Event/
In that module, I can see (print) the dynamic Field name DynamicField_IsCompanyTicket, th'at's ok

but I DON'T know how to ge the value

I mean something like my $df_value = $Ticket{DynamicField_SetTicketAsPrivate}; doesn't work
were to look for ?

Best regards
Chambon
Znuny newbie
Posts: 2
Joined: 13 Jun 2012, 13:47
Znuny Version: 3.1.5
Real Name: Chambon
Company: IN2P3 / CNRS

Re: How to get the value of a dynamic field in an event modu

Post by Chambon »

Sorry, but many typo error is the previous message

I meant that something like my $df_value = $Ticket{DynamicField_IsCompanyTicket}; doesn't work
and I don"t kown where to look for in documentation ?

Best regards
Post Reply