--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Hello,
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
-- Martin Gruner Senior Developer R&D OTRS AG Europaring 4 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn Verbinden wir uns! OTRS 3.1 schafft einfachere Integration mit Drittapplikationen – Für Frühbucher zum Vorzugspreis: http://www.otrs.com/index.php?id=2361&L=1
Hi Bernard,
just use TicketGet(...., DynamicFields => 1); and you will get all fields on the result hash.
Regards, mg
config: ---DefaultValue: ''Link: ''PossibleNone: 0PossibleValues:Key1: Value1Key2: Value2TranslatableValues: 0
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Hi Bernard,
Typically you dump the contents of data structures with a module like Data::Dumper.
So if you'd take the file bin/otrs.GetTicketThread.pl which is on your OTRS system, this utility prints out a ticket to the screen.
If you would open this file in a text editor, set DynamicFields to '1' and then add, at the end of the file, these two lines:
use Data::Dumper;
print Dumper (\%Ticket);
and then run bin/otrs.GetTicketThread.pl [TicketID] on the command line, it will present the contents of the TicketGet() call.
On Wed, Jun 27, 2012 at 3:26 PM, Bernard Chambon
<bernard...@cc.in2p3.fr> wrote:
> now other question :
> using several dyn fields, Is there a way to known which one has been
> modified
> Or do I have to process all dynamic fields, even if only one has changed
> (I mean now using event, still working with generic Agent.)
You can bind to the event for this specific field. If your register
your event module for the event
TicketDynamicFieldUpdate_IsCompanyTicket it would only be triggered if
this field is updated.
Kindest regards,
Michiel Beijen
Senior Consultant
OTRS BV
Schipholweg 103
2316 XC Leiden
The Netherlands
T: +31 71 8200 255
F: +31 71 8200 254
I: http://www.otrs.com
Get Connected ! Everything in sync with OTRS 3.1- Be an early bird
with our special offer: http://j.mp/xN9wk1