[rt-users] SelectQueue CustomField
Ruslan Zakirov
ruslan.zakirov at gmail.com
Wed Oct 26 01:02:15 EDT 2005
On 10/25/05, Rob Scheibel <robscheibel at gmail.com> wrote:
> 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
If it user's CF then it has no relation with any Queue. If CF is
assigned to User then it's not assigned to Ticket/Transaction/Queue,
because Users are not grouped into queues.
> 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
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
> Buy your copy of our new book, RT Essentials, today!
>
> Download a free sample chapter from
> http://rtbook.bestpractical.com
>
>
--
Best regards, Ruslan.
More information about the rt-users
mailing list