rt 5.2
how would I use a user custom field as a creator obj? i made a custom field to allow us to add job titles to users, and need to use it to add an email sig to the Correspondence in html template.
rt 5.2
how would I use a user custom field as a creator obj? i made a custom field to allow us to add job titles to users, and need to use it to add an email sig to the Correspondence in html template.
You can call a custom field value from a ticket with some Perl code wrapped in {}
brackets in your email template.
Signature:
{
$Ticket->FirstCustomFieldValue( 'Some custom field' );
}
doesnât that call ticket custom field?
Oh you want it on the user object, I believe you can use the same method on the CreatorObj so long as you have a valid RT::User object
looks like it doesât like that
Invalid character is likely smart quotes, which should be replaced with regular quotes. Also I donât believe $CreatorObj
is defined ahead of time in templates, see:
https://docs.bestpractical.com/rt/5.0.2/customizing/templates.html
You can get it from $Ticket->CreatorObj
yeah, i think it was the quotes. thanks. and itâs transaction->creatorobj when working with correspond lol.