Add requestor name in Templates

Hi,
I’m using RT 3.8.4 on Debian Lenny

I would like to add the requestor name in my autoreply template

When I try to add :
{$Ticket->Requestors->UsersObj->First->RealName}
the scrips isn’t executed

Thanks in advance.

Anne

Hi,
I’m using RT 3.8.4 on Debian Lenny

I would like to add the requestor name in my autoreply template

When I try to add :
{$Ticket->Requestors->UsersObj->First->RealName}
the scrips isn’t executed

You should have errors in your log
And you probably just want $Requestor->RealName,
check docs/templates.pod in the tarball for the variables that are
set in a template.

-kevin

Kevin Falcone a �crit :> On Mon, Oct 19, 2009 at 11:04:18AM +0200, Anne Fradin wrote:

Hi,
I’m using RT 3.8.4 on Debian Lenny

I would like to add the requestor name in my autoreply template

When I try to add :
{$Ticket->Requestors->UsersObj->First->RealName}
the scrips isn’t executed

You should have errors in your log
And you probably just want $Requestor->RealName,
check docs/templates.pod in the tarball for the variables that are
set in a template.

-kevin



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

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
Hi,
with {$Requestor->RealName } i’ve got this error :
Template parsing error: Can’t locate object method "RealName"
via package “chaberto” (perhaps you forgot to load “chaberto”?)
I find the good variables in Template_Overlay.pm :
{$Ticket->Requestors->UserMembersObj->First->RealName}

Thanks for your help

Anne

Anne Fradin
Administration Syst�mes et R�seaux
GIPSA-lab - UMR5216
961, Rue de la Houille Blanche - BP 46
38402 Saint Martin d’H�res
T�l : 04.76.82.62.56 - Bureau B218
mailto:anne.fradin@gipsa-lab.grenoble-inp.fr