[rt-users] Adding custom field to Auto reply template
Christopher Moughan
cmoughan at bbinslv.com
Wed Jun 6 16:04:03 EDT 2007
Thanks....Worked great. That page is great. thanks again
Christopher Moughan
System Administrator
Brown & Brown Lehigh Valley
268 Brodhead Road
Bethlehem, PA 18017
Office 610-694-1814
Fax 610-974-9791
IMPORTANT: Insurance coverage can not be bound, amended or changed via
voicemail, facsimile or Email message without confirmation from an
authorized Brown & Brown representative.
NOTICE: The information contained in this electronic message is legally
privileged and confidential and is intended for the use of the
individual or entity named above. If the reader of this message is not
the intended recipient, you are hereby notified that any dissemination,
distribution or copy of this message is strictly prohibited. If you have
received this communication in error, please contact the sender by reply
email and destroy all electronic and printed copies of this message.
-----Original Message-----
From: Scott Golby [mailto:sgolby at freshdirect.com]
Sent: Wednesday, June 06, 2007 4:00 PM
To: Christopher Moughan; rt-users at lists.bestpractical.com
Subject: RE: [rt-users] Adding custom field to Auto reply template
> I searched the wiki and I also have the RT book. I wanted to add the
custom field to the auto reply template.
>
> Queue: Printers
> Type: HPLJ1320 (<-- this is one of my list items)
If you want only 1 value from the Custom Field all you need to add to
the template is.
{$Ticket->FirstCustomFieldValue('Cust_Field_Name')}
If you want multiple values, see Page 112 of the book for some code to
loop through.
I find this page on the Wiki really good for little bits to add to
Templates. I wish there was a full mapping out of all the values that
can be used, looking through the .pm files can be a bit fiddly.
http://wiki.bestpractical.com/view/CodeSnippets
- Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070606/5f0019ed/attachment.htm>
More information about the rt-users
mailing list