<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Has anyone tried to add custom fields to the Queue object (or any other Ticket objects) thru the initial data scripts (which will be run with the $RT_HOME/sbin/rt-setup-database command)?</div>
<div><br>
</div>
<div>Also, is there a place where I can find the list of different Types I can use in script?</div>
<div>Basically these should correspond to various drop down values for Type in the web UI where you define the Custom Fields.</div>
<div><br>
</div>
<div>Thanks again..</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<b><br>
</b></div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>I am trying to create a custom field on the Queue object with the initial data script, which has the following entry:</div>
<div><br>
</div>
<div>
<div>    {</div>
<div>        Name        => 'Country',</div>
<div>        Type        => 'SelectSingle',</div>
<div>        LookupType  => 'RT::Queue', </div>
<div>        Disabled    => 0,</div>
<div>        Queue       => 0,</div>
<div>        Description => 'Country information is used to identify country specific queues',</div>
<div>    },</div>
</div>
<div><br>
</div>
<div>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.</div>
<div>How do I add custom field to the Queue object thru the initial data scripts?</div>
<div><br>
</div>
<div>Thanks</div>
<div>Srikumar</div>
<div><br>
</div>
</div>
</div>
-------- RT Training Sessions (<a href="http://bestpractical.com/services/training.html">http://bestpractical.com/services/training.html</a>) * Washington DC, USA ˜ October 31 & November 1, 2011 * Barcelona, Spain ˜ November 28 & 29, 2011</span>
</body>
</html>