[rt-users] accessing custom fields
Rajesh Kumar
dteklavya at gmail.com
Mon Aug 13 08:00:15 EDT 2012
On Monday 13 August 2012 05:08 PM, Gergely Buday wrote:
> Hi,
>
> I have created a custom field for a User. How can I access it from a
> perl script? I have the CF id, that's clear, but some of the code I
> have found had referred to some queue which I wonder about as I want a
> core User custom field, not related to any queue.
>
> - Gergely
>
my $cf_value =
$self->TransactionObj->CreatorObj->FirstCustomFieldValue('Client');
I used above in OnCreate scrip. Hope that helps.
--
Rajesh
More information about the rt-users
mailing list