OK, sometime the vacuum in my head is preventing me from thinking.

Thanks to Scott Lander for Support.

Solution: 
my $path = 'Ticket/Display.html?Status=';
my $CFStat=$Ticket->FirstCustomFieldValue('Saved_Status');
$actions->{'ZZZ-Clone8'} = {
                title => loc('[Reinstate]'),
            path => $path . $CFStat . '&id=' . $Ticket->id,
           };

Torsten
-----Ursprüngliche Nachricht-----
Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Brumm,Torsten 
/ Kuehne + Nagel / Ham MI-ID
Gesendet: Mittwoch, 16. September 2009 15:22
An: [email protected]
Betreff: [rt-users] How to access a CustomField from Ticket/Tabs

Hi RT Gurus,
is there any way to access the content of a CustomField from 
Ticket/Elements/Tabs ?

I try to create a new button called "Reinstate" which will set back the status 
to last know status (stored in a CF).

Something like this:

$actions->{'AC'} = { path => 
"Ticket/Display.html?Status={CustomFieldValue('OldStat')}&id=" . $id,
                     title => loc('Reinstate') };

Not sure if this is possible.

Any ideas or solutions as workaround?

Greetings

Torsten

Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), 
Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, 
Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer 
Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 
812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: 
Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne



_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com Commercial support: 
[email protected]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [email protected]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to