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

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

2 Answers 2

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

 
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.