Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How can you perform a search using content types.

For example, I want to search for all documents having content type "ct1" and where the field "fld1" contains the word "finance"?

Is this functionality doable out-of the box?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

This is available via the advanced search web part (you add constraints by modifying an XML-based property.

You will need to create a Managed Property for content types as this isn't available out of the box. You'll also need one to match your "fld1" field. Once this is done, you can then add the Managed Proeprties into the advanced search web part XML.

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.