cancel
Showing results for 
Search instead for 
Did you mean: 

Create custom search for custom space

danika1891
Champ in-the-making
Champ in-the-making
Dear All,

is there the possibility to create a custom search based on specific space/folder?  :?
I created a customized space with custom content type. Now  I need to create a search only for this space without the Advanced Search customizations

Is it possible?


Thanks in advance,

Valentina
2 REPLIES 2

kgeis
Champ on-the-rise
Champ on-the-rise
I just did something much like this.  I have some spaces where navigation is meaningless because the space contains tens of thousands of folders with non-meaningful names.  So I thought to eliminate navigation from the UI and just present search.  When you browse to the space, you are presented with a search form.

I overrode browse.jsp navigation for the space's content type in web-client-custom.xml.  The new page I created was based on advanced-search.jsp.  I removed some fields, then I added the custom fields that can be in content that lives inside this space.  I created new instances of AdvancedSearchDialog and SearchProperties in my faces-config-custom.xml.  I made the new page pointed to those beans.

This works great except that I'm hitting this bug: [#ALF-2856] Space returns to browse view after completing Add Content dialog; need a way to return t....

danika1891
Champ in-the-making
Champ in-the-making
Thanks for your reply. Could you please give me more details on your steps? I don't understand how to create new page…Is it located in the same folder of browse.jsp?
Thanks again for your help! ^_^