<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 http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<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]-->
<title>RE: [rt-users] Anybody using SelectRequestor?</title>
<style>
<!--
 /* Font Definitions */
 @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:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If there’s no org value for a user,
it’s not put into the list.  That’s easy to change, just add an
else clause to the if statement below, may put them all in an org called “NoOrg”
or something….<o:p></o:p></span></font></p>

<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>

<pre><font size=2 face="Courier New"><span style='font-size:10.0pt'>    if((!defined ($org)) || ($org eq "")) {<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>      my $i = index($User->Name, "@");<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>      # Note that if index returned -1, we'll start at zero, just using the entire email addr as the org<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>      $org = substr $User->Name, $i+1;<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>    }<o:p></o:p></span></font></pre>

<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>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>So:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Else {<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>$org = “NoOrg”;<o:p></o:p></span></font></p>

<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>

<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><font size=3 color=navy face="Times New Roman"><span style='font-size:12.0pt;
color:navy'>-- <o:p></o:p></span></font></p>

<p><font size=3 color=navy face="Times New Roman"><span style='font-size:12.0pt;
color:navy'>Kelly F. Hickel<br>
Senior Software Architect<br>
MQSoftware, Inc<br>
952.345.8677<br>
kfh@mqsoftware.com</span><o:p></o:p></font></p>

</div>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</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'>On Behalf Of </span></b>Ben Robson<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, August 31, 2005
8:04 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Jörg Ungermann;
rt-users@lists.bestpractical.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [rt-users] Anybody
using SelectRequestor?</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 style='margin-bottom:12.0pt'><font size=2 face="Times New Roman"><span
style='font-size:10.0pt'>Jorg,<br>
<br>
Double check your permissions.  Initially I found that only my priv' users
were showing up, but then later when I re-did the permissions for the unpriv'
users, they too started showing up.<br>
<br>
I also suspect, but have not tested, you need to make sure that all users
belong to a "Company Name" in their personal settings.  I
suspect without a "Company Name" the script would not find them, or
would not know where to group them.<br>
<br>
BenR<br>
<br>
<br>
-----Original Message-----<br>
From: rt-users-bounces@lists.bestpractical.com on behalf of Jörg Ungermann<br>
Sent: Wed 8/31/2005 6:52 PM<br>
To: rt-users@lists.bestpractical.com<br>
Subject: [rt-users] Anybody using SelectRequestor?<br>
<br>
<br>
I just found the RT contribution SelectRequestor.<br>
<br>
It makes it possible to select users from lists when creating new tickets
(instead of typing tem in)<br>
<br>
It seems to work but i cannpot get more than 1 user (and root in addition)
listed.<br>
<br>
Anybody having this up and running?<br>
Is there a solution to get all users listed?<br>
<br>
Thanks<br>
<br>
Joerg<br>
______________________________________________________________<br>
Verschicken Sie romantische, coole und witzige Bilder per SMS!<br>
Jetzt bei WEB.DE FreeMail: <a href="http://f.web.de/?mc=021193">http://f.web.de/?mc=021193</a><br>
<br>
_______________________________________________<br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
<br>
Be sure to check out the RT Wiki at <a href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a><br>
<br>
Buy your copy of our new book, RT Essentials, today!<br>
<br>
Download a free sample chapter from <a href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a></span></font><o:p></o:p></p>

</div>

</div>

</body>

</html>