No the wiki doesn't have such a matrix of the RT Objects, or at least I never 
found one.
There's bits and pieces.

Hopefully such a matrix would have a list of the Transaction->Type values. 
That's what I'm looking for at the moment.
Christopher

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JB Segal
Sent: Friday, 14 December 2007 9:43 AM
To: [email protected]
Subject: Re: [rt-users] CFs in Templates?

Kenn,
This is fabulous! Thank you so much.
Would you mind me sticking this in to the wiki to fix the broken
information that's in there?

Everyone: Is there a matrix (simpler than grovelling through all the
perldoc that's out there) of all the objects you can pull out of a
ticket/stick in to a template/scrip/etc? Have I just not found it in the
wiki yet?

JB

Quoth Kenneth Crocker ([EMAIL PROTECTED]):
> JB,
>
>       Here is a copy of a "Template" I use. In this template, I am grabbing a 
> Custom Field (named
> 'Description') and printing it in the body of an email:
>
> Subject: Request Titled: "{$Ticket->Subject}" has been Rejected!
>
> ------------------------------------------------------------------
> TICKET INFORMATION:
> Ticket Queue  : {$Ticket->QueueObj->Name}
> Ticket Number : #{$Ticket->id}
> Ticket Subject: {$Ticket->Subject}
> Ticket Description:
>      {
>      return $Ticket->FirstCustomFieldValue('Description');
>      }
> Ticket Priority is: {$Ticket->Priority}
> Ticket  Created by: {$Ticket->CreatorObj->Name}
> Ticket Created  on: {substr($Ticket->Created, 0, 10)}
> -----------------------------------------------------------------
>
> This "Template" could also serve as an example of how to just
> pull different "Ticket" information and put it into an email. Take
> particular notice of the blank line between the subject (a header)
> line and the body of the template (I like to put in a dashed line, for
> effect). RT has default header info and by using the name of the header
> line (i.e. "Subject:") I am essentially overriding  that default. However,
> RT needs for me to put a blank line between any header line overrides and
> the body so it can tell the difference. Otherwise, it won't work. Hope
> this helps.
>
>
> Kenn
> LBNL
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today.
    Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today.
    Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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