<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Re: CreateChildTicket (Mathew)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">It worked for us as per the first wiki example. Could not get the second one to work.</FONT></SPAN>
</P>

<P><SPAN LANG="it"><FONT SIZE=2 FACE="Arial"># Put this in the file [RT Root]/local/html/Callbacks/MY_CUST_FOLDER/Ticket/Display.html/BeforeShowHistory </FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial"># (replace MY_CUST_FOLDER with your value)</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial"># and it will create ugly button to create a child ticket in another queue </FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial"># ---------------------------------</FONT></SPAN>
</P>

<P><SPAN LANG="it"><FONT SIZE=2 FACE="Arial"><FORM ACTION="<% $RT::WebPath %>/Ticket/Create.html" NAME="CreateTicketInQueue"></FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">  <input type="submit" value="Create child request in"></FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">  <& /Elements/SelectQueue, Name => 'Queue', %ARGS, ShowNullOption => 0, ShowAllQueues => 0 &></FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">  <input type="hidden" name="new-MemberOf" value="<%$Ticket->Id%>"></FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">  <input type="hidden" name="Subject" value="Child of: <%$Ticket->Subject%>"></FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial"></FORM></FONT></SPAN>
</P>

<P><SPAN LANG="it"><FONT SIZE=2 FACE="Arial"><%INIT></FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial"></%INIT></FONT></SPAN>
</P>

<P><SPAN LANG="it"><FONT SIZE=2 FACE="Arial"><%ARGS></FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">$Ticket => undef</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">$Verbose =>  0</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">$Default => 0</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial"></%ARGS></FONT></SPAN>
</P>

<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">HTH,</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">Gabriele Franzini</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">ICT Applications Manager</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">Nerviano Medical Sciences SRL</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">Viale Pasteur 10</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">20014 Nerviano Italy</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">tel +39 0331581477</FONT></SPAN>

<BR><SPAN LANG="it"><FONT SIZE=2 FACE="Arial">fax +39 0331581456</FONT></SPAN>
</P>

</BODY>
</HTML>