On Thu, Sep 08, 2011 at 11:55:49PM +0200, Jim Lesinski wrote:
> Ok that seems odd to me. How do you distinguish the field then if you want to 
> access it via API or other methods like controls by email?

RT::CustomField->LoadByName is documented to expect a Queue, you can
read about it in the perldoc.

Extensions should load the CF off the ticket's queue.

-kevin

> Maybe the description can be used to determine the field
> In the ui?
> 
> Thanks,
> Jim Lesinski
> 
> On Sep 8, 2011, at 11:14 PM, Kevin Falcone <[email protected]> wrote:
> 
> > On Thu, Sep 08, 2011 at 10:42:27PM +0200, Jim Lesinski wrote:
> >> Is it possible to base custom field values on the queue? I see that
> >> you can have cascading drop down lists based on a previously
> >> selected custom field value. I'd like the same thing but starting at
> >> the queue level.
> > 
> > Custom Fields can be assigned on a queue vs global basis, so just
> > create one for each queue with different values.
> > 
> > They're allowed to have the same name in each queue, but you may find
> > it a bit confusing if you're writing code around it and forget to
> > specify a queue.

Attachment: pgp0vO7tTeNuK.pgp
Description: PGP signature

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA — September 26 & 27, 2011
*  San Francisco, CA, USA — October 18 & 19, 2011
*  Washington DC, USA — October 31 & November 1, 2011
*  Melbourne VIC, Australia — November 28 & 29, 2011
*  Barcelona, Spain — November 28 & 29, 2011

Reply via email to