<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Has anyone used this doc with RT 4.0.10 This is holding us up for approval to put RT onto the floor.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We have followed it closely but seem to have a compile problem with rt4/local/html/Elements/QuickTicket which is a update to QuickCreate<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The code section:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">});<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> var defaultQueue = '<% $defaultQueue %>';<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> if(defaultQueue == "") {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> defaultQueue = jQuery('#quick-ticket').find('.select-queue[name=Queue]').children().first().text();<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> updateCustomFields(defaultQueue);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> });<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Returns a compile error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">torrepo:/opt/rt4/var # [Fri Mar 15 18:11:56 2013] [error]: Error during compilation of<o:p></o:p></p>
<p class="MsoNormal">/n/software/linux/servers/rt4/local/html/Elements/QuickTicket:<o:p></o:p></p>
<p class="MsoNormal">Global symbol "$defaultQueue" requires explicit package name at<o:p></o:p></p>
<p class="MsoNormal">/n/software/linux/servers/rt4/local/html/Elements/QuickTicket line 86.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It seems to be having a problem with the variable $defaultQueue<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does this have to be defined explicitly in RT_SiteConfig.pm or somewhere else?<o:p></o:p></p>
<p class="MsoNormal">Or perhaps when the document says “and add some JavaScript to load the custom fields and display them” I am putting it in the wrong place”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="8" cellpadding="0" align="left" width="100%" style="width:100.0%">
<tbody>
<tr>
<td width="6%" style="width:6.0%;padding:0in 0in 0in 0in">
<p class="MsoNormal" style="mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<a href="http://www.arcproductions.com/"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:blue;text-decoration:none"><img border="0" width="150" height="99" id="Picture_x0020_1" src="cid:image001.gif@01CE23B9.ACD5FCB0" alt="ARC"></span></a><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
</td>
<td width="94%" style="width:94.0%;padding:0in 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:black">Ray Corbett Technology Projects Manager</span></b><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#333333"><br>
<br>
p:</span></b><b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">
</span></b><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#333333">416.682.5200 x5232 | f: 416.682.5209<br>
Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4<br>
<a href="http://www.arcproductions.com"><span style="color:#1A794D;text-decoration:none">www.arcproductions.com</span></a></span></b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#333333">
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> <o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>