Search by extension and Title with a targeted Quick Search
By Kyle Hatlestad on Dec 21, 2011
Often when I’m doing a search, I’m doing it based on something in the Title. But in addition to that, I often know the extension of the original (native) file I’m looking for as well. I’ll know if it’s a PowerPoint I’m after…or maybe a zip file. The quickest way for me to do my searching is with the Quick Search in the top right. So what I’ve done is created a targeted Quick Search to search by both the extension and the Title. You can do this either as your own individual quick search or an administrator can set it up as a quick search that all users can use.
- Go to My Content Server -> My Quick Searches. If you are an administrator, you should be able to create new quick searches defined by admins.
- Click Create New…
- If you have the expanded search form enabled, select Search Forms -> Query Builder Form.
- Enter a Quick Search Key and Label.
- In the Query Builder section, click ‘show advanced options’.
- In the Query Text box, click ‘Modify Query Text and add the following code:
<$rsMakeFromString(‘myParms’,’#s’,’myParm’)$><$loop myParms$><$if myFirst$> <AND> dDocTitle <contains> `<$myParm$>` <$else$><$myFirst=1$>dExtension <starts> `<$myParm$>`<$endif$><$endloop$>
- Click Save.
Now when you do a quick search, you can either select the type of quick search:
Or use the key to specify it:
And if you want to search by just the extension, you can leave off the comma and Title parameter.