Adding Element to provide easy custom field searches

Hi,

We have a non-technical group who need to search RT for custom fields, and putting customfield1:55555 in the top search box is too much for them.
We’d like to add a new element on the At A Glance page to have something like:

CustomField1 […] [Search]
CustomField2 […] [Search]

The Search buttons would direct to a search where the custom field was = the input value.

I’m just not sure where to start adding a new element.
Anyone have an example or pointers?

Chad Osmond
chad.osmond@compfitness.commailto:chad.osmond@compfitness.com
Technical Support
Compfitness - Keeping your Computer Systems in Shape!
905-443-3171 work - 905-447-6485 mobile

We have a non-technical group who need to search RT for custom fields, and putting
customfield1:55555 in the top search box is too much for them.

We’d like to add a new element on the At A Glance page to have something like:

CustomField1 […] [Search]

CustomField2 […] [Search]

The Search buttons would direct to a search where the custom field was = the input value.

I’m just not sure where to start adding a new element.

You can use a shorter word than customfield1:5555 if that helps (but
it may not). The simple search code in 4.0 is quite extensible.

You start making a portlet for the homepage by copying something like
the share/html/Elements/QuickCreate mason component to
local/html/Elements/CustomSearch, hacking it to render the Custom
Fields you want and then making it available to users to put on their
homepages using the HomepageComponents configuration:
http://bestpractical.com/rt/docs/latest/RT_Config.html#HomepageComponents

-kevin