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.
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.
my $cf_value =
$self->TransactionObj->CreatorObj->FirstCustomFieldValue(‘Client’);
I used above in OnCreate scrip. Hope that helps.
Rajesh
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.
my $cf_value =
$self->TransactionObj->CreatorObj->FirstCustomFieldValue(‘Client’);
I used above in OnCreate scrip. Hope that helps.
Seems fine, but what is the $self? I guess it is set by the general
scrip beginning but how can I create it from a standalone scrip_t_?