Sharepoint - Search results from only contenttype X

You need to modify the search result web part to only display items of your content type. Just edit the properties of the web part and click "Change Query":

enter image description here

In quick mode, you can do a query for items by content type. Quick mode uses drop downs to create the query, and is rather easy.

enter image description here

In advanced mode, you can use keyword query language. There are some drop downs to help build the queries. The following gets all items that inherit from a content type: ContentTypeId:0x0100EEA1F5E3F2E1CA45983B2EAF52D90F4A*

enter image description here


You could also just use the content type name by using the ContentType: query in the regular search: enter image description here

Tags:

Search