[rt-users] Adding custom field to the Queue object thru initial data script (4.0.2)
Kevin Falcone
falcone at bestpractical.com
Wed Oct 26 18:24:12 EDT 2011
On Wed, Oct 26, 2011 at 10:20:24PM +0000, Srikumar Nair wrote:
> I got that suggestion (Queue => 0) from Ruslan for another question.
Correct, it applies to Ticket Custom Fields, which is the question
Ruslan was answering.
> BTW, back to my original question..
>
> I am trying to create a custom field on the Queue object with the initial
> data script, which has the following entry:
>
> {
> Name => 'Country',
> Type => 'SelectSingle',
> LookupType => 'RT::Queue',
> Disabled => 0,
> Queue => 0,
> Description => 'Country information is used to identify country
> specific queues',
> },
>
> My assumption is specifying the LookupType as 'RT::Queue' will make it add
> it to the Queue object. But this gets added to the Ticket object.
>
> How do I add custom field to Queue Object?
Remove Queue => 0 from the code you've pasted.
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111026/05729aca/attachment.sig>
More information about the rt-users
mailing list