SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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'm creating user profile properties and making them searchable. But now, I need to set a last property of the Crawled Property. So how can I check the "Include values for this property in the search index" on a Crawled Property WITH C#??? It's located under the "Mappings to managed properties" section.

share|improve this question
up vote 0 down vote accepted

I've found a solution. After you link the mapped property to the crawled property, you need to update the crawled property:

crawledProperty.IsMappedToContents = true;
crawledProperty.Update();

And then it should work...

share|improve this answer

Your Answer

 
discard

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.