locked
Content query webpart not returning any results RRS feed

  • Question

  • I have CQWP and specified to query to all sites in this site collection.
    Under List type i have selected Pages Library and under content type i have selected NewsPage custom Content type.

    The problem is that the CQWP is not returning any results. 

    If I change the query to drill down to a site/list specifically then it shows the results but if I choose to  query to all sites in this site collection it shows no results.

    I have also tried setting ListsOverride property to <Lists ServerTemplate="850" MaxListLimit="2000"></Lists>

    My Content DB size is 150 GB approx.

    Tuesday, October 16, 2012 12:06 PM

Answers

  • Hi,

    When I select the options Source "show item form all sites in this site collection", List Type "Pages Library" and Content Type "All Content Types" in my oob CQWP properties, it will return all  pages from some "Pages" libraries within site collection.

    You can also try using option Content Type "All Content Types" or other content type, and check whether CQWP returns items.

    And here is an article with a custom CQWP, you can check if it helps,

    http://www.n8d.at/blog/limitation-of-content-query-web-part-cqwp/

    Thanks


    Daniel Yang

    TechNet Community Support

    • Marked as answer by star.wars Sunday, November 11, 2012 9:36 AM
    Thursday, October 18, 2012 7:18 AM