SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to enable custom scopes in sharepoint in code. enter image description here

Any ideas how to do this?

share|improve this question

migrated from Oct 8 '12 at 16:02

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

This site shows you how to do it:

You'll want to look into the QueryManager class:

This may help too:

share|improve this answer
Thanks for tips. But i dont get it how actually to enable just custom scopes like sharepoint do this with this check box... – Evgeny Oct 9 '12 at 7:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.