[prev in list] [next in list] [prev in thread] [next in thread]
List: rt-users
Subject: Re: [rt-users] Add custom fields
From: "Alberto Villanueva" <alberto.villanueva () altran ! es>
Date: 2008-11-26 9:40:04
Message-ID: !&!AAAAAAAAAAAYAAAAAAAAACw+4lv2wYRIqp1JiS6jaQ/CgAAAEAAAAA8TXurBQCRDop/osVAhNQwBAAAAAA== () altran ! es
[Download RAW message or body]
[Attachment #2 (multipart/related)]
[Attachment #4 (multipart/alternative)]
I have tried the next, but the code is the same that it’s in the file
“Create.html”
<td colspan="6">
<& /Ticket/Elements/EditCustomFields, QueueObj => $QueueObj &>
</td>
</tr>
% if ($TxnCFs->Count) {
% while (my $CF = $TxnCFs->Next()) {
<tr>
<td align="right"><% $CF->Name %>:</td>
<td><& /Elements/EditCustomField, CustomField => $CF, NamePrefix =>
"Object-RT::Transaction--CustomField-" &><em><% $CF->FriendlyType
%></em></$
</td></tr>
% }
% }
</tr>
Thanks!
ALBERTO VILLANUEVA VAL
Consultor
____________________________________________
Altran
ParqueEmpresarial Las Mercedes, Edificio 1
C/ Campezo, 1. 28022 Madrid
Tel : + 34 91 744 46 00
Fax: + 34 91 415 24 57
<http://www.altran.es> www.altran.es
_____
size=2 width="100%" align=center>
De: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] En nombre de Alberto
Villanueva
Enviado el: miércoles, 26 de noviembre de 2008 10:30
Para: rt-users@lists.bestpractical.com
Asunto: [rt-users] Add custom fields
Hello,
I’m trying to add a custom field in the file “Quick Create”, but the CF is a
combobox which was created in the user interface. Do you know how I could do
it??
Thanks a lot!
ALBERTO VILLANUEVA VAL
Consultor
____________________________________________
Altran
ParqueEmpresarial Las Mercedes, Edificio 1
C/ Campezo, 1. 28022 Madrid
Tel : + 34 91 744 46 00
Fax: + 34 91 415 24 57
<http://www.altran.es> www.altran.es
[Attachment #7 (text/html)]
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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="http://www.w3.org/TR/REC-html40">
<head>
<meta name=Generator content="Microsoft Word 11 (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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Eurostile;
panose-1:2 11 5 4 2 2 2 5 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EstiloCorreo17
{mso-style-type:personal;
font-family:Eurostile;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.EstiloCorreo18
{mso-style-type:personal-reply;
font-family:Eurostile;
color:blue;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=ES link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span
style='font-size:12.0pt;font-family:Eurostile;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'>I have tried the next,
but the code is the same that it’s in the file \
“Create.html”<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'><td
colspan="6"><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'><&
/Ticket/Elements/EditCustomFields, QueueObj => $QueueObj \
&><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'></td><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'></tr><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'>% if
($TxnCFs->Count) {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'>% while (my $CF =
$TxnCFs->Next()) {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'><tr><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'><td
align="right"><% $CF->Name \
%>:</td><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'><td><&
/Elements/EditCustomField, CustomField => $CF, NamePrefix \
=><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'>
"Object-RT::Transaction--CustomField-" &><em><%
$CF->FriendlyType %></em></$<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'></td></tr><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'>% \
}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'>% \
}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile;color:blue'></tr><o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
color:navy'>Thanks!<o:p></o:p></span></font></p>
<p class=MsoNormal style='vertical-align:bottom'><font size=1 color="#1d398d"
face=Arial><span style='font-size:9.0pt;font-family:Arial;color:#1D398D'>ALBERTO
VILLANUEVA VAL </span></font><font color=black><span \
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='vertical-align:top'><font size=1 color="#5b707c"
face=Arial><span style='font-size:7.0pt;font-family:Arial;color:#5B707C'>Consultor</span></font><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>
<p class=MsoNormal style='vertical-align:top'><font size=1 color="#5b707c"
face=Arial><span style='font-size:7.0pt;font-family:Arial;color:#5B707C'>____________________________________________<O:P></O:P></span></font><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>
<p class=MsoNormal style='line-height:30.0pt'><b><font size=2 color="#140a69"
face=Arial><span style='font-size:10.5pt;font-family:Arial;color:#140A69;
font-weight:bold'><img width=165 height=67 id="_x0000_i1027"
src="cid:image001.jpg@01C94FB3.57758670" alt=Altran align=bottom \
border=0></span></font></b><font color=blue><span \
style='color:blue'><O:P></O:P><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color="#5b707c" face=Arial><span
style='font-size:7.0pt;font-family:Arial;color:#5B707C'>ParqueEmpresarial Las
Mercedes, Edificio 1 <br>
C/ Campezo, 1. 28022 Madrid<br>
Tel : + 34 91 744 46 00<br>
Fax: + 34 91 415 24 57</span></font><font color=blue><span \
style='color:blue'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color="#5b707c" face=Arial><span
style='font-size:7.0pt;font-family:Arial;color:#5B707C'><O:P></O:P><a
href="http://www.altran.es" target="_blank"><font color="#5b707c"
face="Times New Roman"><span style='font-family:"Times New \
Roman";color:#5B707C'>www.altran.es</span></font></a></span></font><font \
color=blue><span style='color:blue'><O:P></O:P><o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr<!--[if gte mso 9]><xml>
<u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<u1:shapelayout u3:ext="edit">
<u1:idmap u3:ext="edit" data="1"/>
</u1:shapelayout>
</xml><![endif]--> size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>De:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] <b><span style='font-weight:
bold'>En nombre de </span></b>Alberto Villanueva<br>
<b><span style='font-weight:bold'>Enviado el:</span></b> miércoles, 26
de noviembre de 2008 10:30<br>
<b><span style='font-weight:bold'>Para:</span></b> \
rt-users@lists.bestpractical.com<br> <b><span \
style='font-weight:bold'>Asunto:</span></b> [rt-users] Add custom \
fields</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Eurostile><span style='font-size:12.0pt;
font-family:Eurostile'>Hello,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Eurostile><span style='font-size:12.0pt;
font-family:Eurostile'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile'>I’m trying to add a custom
field in the file “Quick Create”, but the CF is a combobox which
was created in the user interface. Do you know how I could do \
it??<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Eurostile><span lang=EN-GB
style='font-size:12.0pt;font-family:Eurostile'>Thanks a \
lot!<o:p></o:p></span></font></p>
<p class=MsoNormal style='vertical-align:bottom'><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='vertical-align:bottom'><font size=1 color="#1d398d"
face=Arial><span style='font-size:9.0pt;font-family:Arial;color:#1D398D'>ALBERTO
VILLANUEVA VAL </span></font><font color=black><span \
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal style='vertical-align:top'><font size=1 color="#5b707c"
face=Arial><span style='font-size:7.0pt;font-family:Arial;color:#5B707C'>Consultor</span></font><o:p></o:p></p>
<p class=MsoNormal style='vertical-align:top'><font size=1 color="#5b707c"
face=Arial><span style='font-size:7.0pt;font-family:Arial;color:#5B707C'>____________________________________________<o:p></o:p></span></font></p>
<p class=MsoNormal style='line-height:30.0pt'><b><font size=2 color="#140a69"
face=Arial><span style='font-size:10.5pt;font-family:Arial;color:#140A69;
font-weight:bold'><img border=0 width=165 height=67 id="_x0000_i1025"
src="cid:image001.jpg@01C94FB3.57758670" alt=Altran \
align=bottom></span></font></b><o:p></o:p></p>
<p class=MsoNormal><font size=1 color="#5b707c" face=Arial><span
style='font-size:7.0pt;font-family:Arial;color:#5B707C'>ParqueEmpresarial Las
Mercedes, Edificio 1 <br>
C/ Campezo, 1. 28022 Madrid<br>
Tel : + 34 91 744 46 00<br>
Fax: + 34 91 415 24 57</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=1 color="#5b707c" face=Arial><span
style='font-size:7.0pt;font-family:Arial;color:#5B707C'><a
href="http://www.altran.es" target="_blank"><font color="#5b707c"
face="Times New Roman"><span style='font-family:"Times New \
Roman";color:#5B707C'>www.altran.es</span></font></a><o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> <o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<!--[if gte mso 9]><xml>
<u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<u1:shapelayout u3:ext="edit">
<u1:idmap u3:ext="edit" data="1"/>
</u1:shapelayout>
</xml><![endif]--></div>
</body>
</html>
["image001.jpg" (image/jpeg)]
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic