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

When you export a Content by Query web part and open it up there is the <property name="QueryOverride" type="String" /> tag which allows you to put in your own CAML query to specify further filters and sort by's.

I know that you can, in this property as well, query the Content Types, but is it also possible to query for List Types if I want to query 4 different List Types in 1 CQWP?

share|improve this question
up vote 2 down vote accepted

I don't think specifying lists in CAML query in QueryOverride property is possible. The list is specified in Source property of CQWP.

share|improve this answer

You can add a CAML query into the QueryOverride, I've done it and it works flawlessly to help filter results more appropriately. You cannot however specify a list type to pull from, only list fields are available.

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.