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

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

1 Answer 1

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;

And then it should work...

share|improve this answer

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.