[rt-devel] Callbacks - Hiding custom fields

Martin Wheldon martin.wheldon at greenhills-it.co.uk
Wed May 1 15:39:38 EDT 2013


Hi,

I've added a new item to the RT ticket menu bar along with the relevant 
page when you click the link so
the menu bar looks as follows:

Display History Basics Outcome People ...

This all works fine, the new Outcome page is based on the Modify.html 
in which there is a callback

# Now let callbacks have a chance at editing %ARGS
$m->callback( TicketObj => $TicketObj, CustomFields => $CustomFields, 
ARGSRef => \%ARGS );

I have written a boiler plate callback which is being called, however 
my question is how do I massage the
customfields in the callback to hide some of them from the user?

I'm using RT 4.0.11 by the way.

Best Regards

-- 
Martin Wheldon
Greenhills IT Ltd.
Telephone: 01904 238 454

Greenhills IT Ltd. is a limited company registered in England and 
Wales.
Company Registration No: 06387214
Registered Offices: 2 Greenhills, Claxton, YORK, North Yorkshire, YO60 
7SA




More information about the rt-devel mailing list