[rt-users] SelectQueue CustomField

Rob Scheibel robscheibel at gmail.com
Mon Oct 24 22:52:14 EDT 2005


Trying to get a User CustomField to appear in the SelectQueue file and
having no luck. Here's what I've got:
 my $CFObj = RT::CustomField->new($queue->CurrentUser);
$CFObj->LoadByNameAndQueue(Name => 'DefaultQueue', Queue => $queue->Id);
 The name of the CustomField is 'DefaultQueue' and it's setup as a User
CustomField versus a Ticket CustomField. I keep getting "undefined" when I
try to do $CFObj->Id after the 2nd line of code.
 I'm beyond stumped and would appreciate any and all help.
 Thanks a bunch everyone!
 -rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20051024/90afe246/attachment.htm>


More information about the rt-users mailing list