[rt-users] RE Adding a "predefined search" field

Raphaël MOUNEYRES raphael.mouneyres at sagemcom.com
Fri May 20 10:42:32 EDT 2011


hi,

you could easily have an external page (or a modified portion of a RT 
page)  with a prebuilt http adress corresponding to the query you want (or 
a saved search maybe?)
here is an exemple of how a search looks like when you create it through 
the RT Query builder, look for the HERE_IS_YOUR_xxxx and put what you want 
in it.

http://yourRTadress/Search/Edit.htm
l?Format='%20%20%20%3Cb%3E%3Ca%20href%3D%22__WebPath__%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3A%23'%2C%0A'%3Cb%3E%3Ca%20href%3D%22__WebPath__%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__Subject__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3ASubject'%2C%0A'__Status__'%2C%0A'__QueueName__'%2C%0A'__OwnerName__'%2C%0A'__Priority__'%2C%0A'__NEWLINE__'%2C%0A''%2C%0A'%3Csmall%3E__Requestors__%3C%2Fsmall%3E'%2C%0A'%3Csmall%3E__CreatedRelative__%3C%2Fsmall%3E'%2C%0A'%3Csmall%3E__ToldRelative__%3C%2Fsmall%3E'%2C%0A'%3Csmall%3E__LastUpdatedRelative__%3C%2Fsmall%3E'%2C%0A'%3Csmall%3E__TimeLeft__%3C%2Fsmall%3E'&Order=ASC%7CASC%7CASC%7CASC&OrderBy=Priority%7C%7C%7C&Page=1&Query=Queue%20%3D%20'
HERE_IS_YOUR_QUEUE_NAME'%20AND%20'CF.%7BHERE_IS_THE_CUSTOM_FIELD_NAME
%7D'%20LIKE%20'HERE_IS_YOUR_SEARCH_FIELD
'&RowsPerPage=50&SavedChartSearchId=new&SavedSearchId=

hope it helps

Raphaël




Francis L Fabrizio <fabrizio at uab.edu> 
Envoyé par : rt-users-bounces at lists.bestpractical.com
20/05/2011 16:28

A
"rt-users at lists.bestpractical.com" <rt-users at lists.bestpractical.com>
cc

Objet
[rt-users] Adding a "predefined search" field






There’s a particular search we do constantly against our custom field “PO 
Number”.  Since the custom field is only applied to certain queues, 
building the search is a two-step process of first adding the “Queue is 
XYZ” search term which then gives us visibility to add the PO Number 
search term.
 
It’s not uncommon to need to do 20 or 30 such searches in rapid 
succession.  This gets tedious because you have to Edit Search, delete the 
old value, add the new value, and repeat 30 times. 
 
What I’d really like is a search field in the upper bar (separate from the 
existing one) which automatically does a “search queue XYZ for tickets 
with PO Number value of <whatever is input in the field>” search.  That 
would avoid all of these tedious steps. 
 
What’s the best way to go about adding such functionality to our RT 3.8 
interface?
 
--
Fran Fabrizio
Director of Information Systems
UAB College of Arts and Sciences
http://www.uab.edu/cas/
HHB510E | 205.996.5698 | fabrizio at uab.edu
 


#
" Ce courriel et les documents qui lui sont joints peuvent contenir des
informations confidentielles ou ayant un caractère privé. S'ils ne vous sont
pas destinés, nous vous signalons qu'il est strictement interdit de les
divulguer, de les reproduire ou d'en utiliser de quelque manière que ce
soit le contenu. Si ce message vous a été transmis par erreur, merci d'en
informer l'expéditeur et de supprimer immédiatement de votre système
informatique ce courriel ainsi que tous les documents qui y sont attachés."


                               ******

" This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, you are
notified that any dissemination, copying of this e-mail and any attachments
thereto or use of their contents by any means whatsoever is strictly
prohibited. If you have received this e-mail in error, please advise the
sender immediately and delete this e-mail and all attached documents
from your computer system."
#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110520/2195033c/attachment.htm>


More information about the rt-users mailing list