Adding fields to Quick Search in UCM
By Kyle Hatlestad on Nov 17, 2009
In UCM, when you do a search using the Quick Search box it is performing a search against the Title, Content ID, and full text (if enabled) of the content.
But sometimes it's handy to be able to quickly search against other fields. One option is to set up targeted quick searches and have a key for the different fields. So a search on 'w Data File' could trigger a targeted quick search that would search the Website Object Type field.
But often a field is so integral to the system that most (or all) of the content items may have a value in that field. One field that I find myself often using for quick search is the file extension. I know the file type of what I'm looking for so I use that first. Then I use the Search Within to further drill down into my results.
To add additional fields such as file extension and other custom metadata fields is just a couple of configuration entries. You can either add them through Admin Server - General Configuration or modify the [ucm dir]/config/config.cfg file directly.
The two config entries you want to add are:
The configuration QuickSearchFields is the pipe delimited list of the fields to search against such as the file extension (dExtension). The QuickSearchOperators is a comma delimited list that defines the search operator to use for each of the fields. The order that they are in should correspond to the order of the fields in the other configuration entry.