Hello, I want to change field from only Me and Nobody to full list of Users which have rights to Queue.

So far I managed to change this code on QuickCreate Element:

<td class="label"><&|/l&>Owner</&>:</td><td class="value">
<select type="select" name="Owner">
<option value="<%RT->Nobody->id%>"><%loc('Nikt')%></option>
<option value="<%$session{'CurrentUser'}->id%>" selected="selected"><&|/l&>Ja</&></option>

To this:

<td class="label"><&|/l&>Owner</&>:</td><td class="value"><& /Elements/SelectOwner, Name => 'Owner' &>

And it works, but gives me list of all users. Putting SelectOwnerDropdown instead of SelectOwner narrows selection only to Me and Nobody again.

Can this be done like in Ticket/Create.html - list of users only granted rights to specific Queue? What I can see in Create.html it is handled other way - like using EditBasisc element?

--
BM
--
RT Training - Dallas May 20-21
http://bestpractical.com/training

Reply via email to