[rt-users] Query Questions

Todd Chapman todd at chaka.net
Wed Dec 6 16:58:12 EST 2006


On Wed, Dec 06, 2006 at 04:26:04PM -0500, beilman wrote:
> I think so, inside html/Elements/RT__Ticket/ColumnMap  I see references to things like
> LastUpdated => {
>         attribute => 'LastUpdated',
>         title     => 'Last Updated',
>         value     => sub { return $_[0]->LastUpdatedObj->AsString }
>     },
> 
> So I need to figure out how to reference what I need and insert something like 
> Content=> {
>         attribute => 'Content',
>         title     => 'Content,
>         value     => sub { return $_[0]->Appropriate_stuff_here>AsString }
>     },
> 
> Or whatever the RT API indicates.
> 
> I am a mild PERL programmer, but it looks like I will have to dig in.
> 
> It's a starting place. 
> 
> If anyone out there already did this,I would love it if you shared your code. In the mean time, I will dig in.
> 

Something like:

$_[0]->Transactions->First->Content;



More information about the rt-users mailing list