Custom Fields in Email

Hey All,

I’d like to add a custom field to be included in the admin correspondence template and was wondering if that was possible? I have a Customer Name custom field and would like that to be included as part of the email that gets sent out with the admin correspondence.

Anyone have any ideas on this?!

Thanks

-Stevo

Assuming type single:

$TicketObj->FirstCustomFieldValue(‘MyField’)On Wed, Nov 24, 2004 at 12:12:03PM -0800, Stevo wrote:

Hey All,

I’d like to add a custom field to be included in the admin correspondence template and was wondering if that was possible? I have a Customer Name custom field and would like that to be included as part of the email that gets sent out with the admin correspondence.

Anyone have any ideas on this?!

Thanks

-Stevo


The rt-users Archives

Be sure to check out the RT wiki at http://wiki.bestpractical.com

http://wiki.bestpractical.com/index.cgi?AddCustomFieldsValuesToMail

See also
http://wiki.bestpractical.com/index.cgi?Contributions
Template parts section

Stevo wrote:

Hey Todd,

Thanks for the info on this, but I don’t think I’m getting it! The Custom
Field type is a “Select one value” type and the name is CompanyName.

I tried to put the following in my template and it gave the error “Can’t
call method “FirstCustomFieldValue” on an undefined value”:

Customer: {$TicketObj->FirstCustomFieldValue(‘CompanyName’)}

The template example at Request Tracker Wiki
doesn’t really help me much - any chance you could throw another pointer my
way!

Thanks a bunch.

-Steve----- Original Message -----
From: “Todd Chapman” rt@chaka.net
To: “Stevo” checkpoint@ozbergs.com
Cc: rt-users@lists.bestpractical.com
Sent: Wednesday, November 24, 2004 1:43 PM
Subject: Re: [rt-users] Custom Fields in Email

Assuming type single:

$TicketObj->FirstCustomFieldValue(‘MyField’)

On Wed, Nov 24, 2004 at 12:12:03PM -0800, Stevo wrote:

Hey All,

I’d like to add a custom field to be included in the admin correspondence
template and was wondering if that was possible? I have a Customer Name
custom field and would like that to be included as part of the email that
gets sent out with the admin correspondence.

Anyone have any ideas on this?!

Thanks

-Stevo


The rt-users Archives

Be sure to check out the RT wiki at http://wiki.bestpractical.com

Try changing it to:

Customer: {$Ticket->FirstCustomFieldValue(‘CompanyName’)}

-ToddOn Mon, Nov 29, 2004 at 11:13:16AM -0800, Stevo wrote:

Hey Todd,

Thanks for the info on this, but I don’t think I’m getting it! The Custom
Field type is a “Select one value” type and the name is CompanyName.

I tried to put the following in my template and it gave the error “Can’t
call method “FirstCustomFieldValue” on an undefined value”:

Customer: {$TicketObj->FirstCustomFieldValue(‘CompanyName’)}

The template example at Request Tracker Wiki
doesn’t really help me much - any chance you could throw another pointer my
way!

Thanks a bunch.

-Steve

----- Original Message -----
From: “Todd Chapman” rt@chaka.net
To: “Stevo” checkpoint@ozbergs.com
Cc: rt-users@lists.bestpractical.com
Sent: Wednesday, November 24, 2004 1:43 PM
Subject: Re: [rt-users] Custom Fields in Email

Assuming type single:

$TicketObj->FirstCustomFieldValue(‘MyField’)

On Wed, Nov 24, 2004 at 12:12:03PM -0800, Stevo wrote:

Hey All,

I’d like to add a custom field to be included in the admin correspondence
template and was wondering if that was possible? I have a Customer Name
custom field and would like that to be included as part of the email that
gets sent out with the admin correspondence.

Anyone have any ideas on this?!

Thanks

-Stevo


The rt-users Archives

Be sure to check out the RT wiki at http://wiki.bestpractical.com