[rt-users] Code to get list of a custom field's values (almost there)
Roman Massey
romanmassey at gmail.com
Wed Jul 1 22:23:29 EDT 2015
Hi Guys, Looking for some advice on a script to fetch list of a custom field’s values. At the moment it’s printing "RT::CustomFieldValue=HASH(0x91f22b0)”. I’m obviously missing something silly and would really appreciate a guru’s touch!
my $clientcustomfield = RT::CustomFieldValues->new($RT::SystemUser);
$clientcustomfield->LimitToCustomField(45);
my $clients = $clientcustomfield;
while (my $client = $clients->Next ) {
print $client;
print "\n";
}
—
Roman Massey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150701/62604bb0/attachment.htm>
More information about the rt-users
mailing list