SharePoint: SmallSearchInputBox tip

If you are looking here to find out how to get Advanced Search or custom search scopes to show up then also check here.


While researching the SharePoint DelegateControl I found some misleading information on the value of the sequence attribute that should be used with a custom Feature to replace the default search box (SmallSearchInputBox). Most of the blogs say that sequence should be less than 100 to make your search control be used in place of the default. Turns out that sequence must be less than 25, not 100.

I think that many of the articles on the web may have been tested on WSS, not MOSS. MOSS has it's own Features to replace the search box.

On my server these Features also override SmallSearchInputBox:

    ContentLIghtup   sequence=100
    OsearchBasicFeature   sequence=50
    OsearchEnhancedFeature   sequence=25

So any custom Feature you add needs a sequence number less than 25.



No comments:

Note to spammers!

Spammers, don't waste your time... all posts are moderated. If your comment includes unrelated links, is advertising, or just pure spam, it will never be seen.