Tuesday, July 7, 2009

Fix - SharePoint 2007 Search Scopes not Displaying In Search Scope Dropdown after Deleting and Recreating the Shared Services Provider

To fix an issue with the Crawler mentioned in my previous blog article at
http://ddkonline.blogspot.com/2009/07/fix-when-sharepoint-2007-search-index.html
, I was forced to create a new Shared Services Provider. Everything seemed to work fine apart from the fact that I later noticed that the search scopes dropdown was just showing a single record, when it was previously showing 3 items (This Site, and the Shared Scopes "All Sites", and "All People"

The Problem

Only one search scope is showing in the dropdown (ie "This Site:SITENAME"), or This Site: Home in the example.



This problem has been encountered by others as well:
http://blogs.msdn.com/cjohnson/archive/2006/10/19/moss-search-scopes-missing-in-action.aspx

Found out by comparing to our UAT environment (which did not have the Permanent Crawling issue), that the main difference was that the Display Group for my Search scopes was a name I made up called "Shared", and then moved them from the "Unused" display group to my new "Shared Group".

The Solution:

The trick is that the Search scopes will only show in the search dropdown if the Display group is named "Search Dropdown". Once this is updated, it will magically show up in the list.

On a side note, this is a very clunky and obscure/non-intuitive mechanism for the population of the search dropdown. I would much prefer that it be an explcit flag on the Display group of "Display In Search Dropdown". This would make it much clearer for everyone.

4 comments:

Anonymous said...

This doesnt seem to be my solution as my test and prod farms had this setting (in fact, exact same setting as a default), but the test farm shows all three scopes in the dropdown, prod only shows "this site".

Anonymous said...

Sorry, 1 minute later I found the solution. Goto Site Settings - Search Settings - and enable the "Custom Source". For some reason that was set in the test farm but not prod. I have a publishing site at the top level FYI.

Anonymous said...

Thank you very much for this post. I have been tearing my hair out for two weeks trying to get my site to recognize the custom scopes. This is an easy fix, but yes, some kind of flag would have been so much easier. Thanks again!!

Anonymous said...

Hello
buy citalopram
This is where one can take advantage of the Celexa as it helps to maintain the balance between neurotransmitters, assisting people to get rid off severe depression.
[url=http://www.bestofdefleppard.com/]purchase celexa[/url]
So, you better ensure that you have consulted to your doctor thoroughly about the each and every medication that you can take and should avoid before choosing to rely on this drug.
http://www.bestofdefleppard.com/ - celexa pharmacy
Additionally, it is used to treat PMDD (Premenstrual Dysphoric Syndrome), OCD (Obessive Compulsive Disorder), Posttraumatic stress disorder, and anxiety disorder.