1

I have a new CQWP and when l export the WP and insert it into the page layout when l create a new page it adds the CQWP but the it doesn't show the list l have selected in the Query under "show items from the following list" I have to do this manually every time do you know which property name l have to update for it to include the library every time l create a new page

  • Are you sure you are tried to add the CQWP in a site page within the same web application? – Mohamed El-Qassas MVP Sep 5 '17 at 21:32
  • Yes I have tested on same site collection – John Smith Sep 6 '17 at 12:28
  • Try to configure your CQWP and export it again then add it on your page, – Mohamed El-Qassas MVP Sep 6 '17 at 12:32
0

By default, the Content Query Web Part Export Operation preserves the list/library Name

<property name="ListName" type="string">Qassas List</property>

It also preserves WebUrl

<property name="WebUrl" type="string">~sitecollection/Qassas/test</property>

So

  • Try to export the CQWP again then add it on your page, it should be working properly.
  • Also, Make sure that you already added the exported CQWP in a site page within the same web application!
  • Tried that but when l re-add it back in l get the following message : [There is a problem with the query that this Web Part is issuing. Check the configuration of this Web Part and try again.] but if l edit the CQWP it resolved automatically same with adding it in the display template l have to edit it for the entries to appear – John Smith Sep 19 '17 at 18:38
  • what's your current SharePoint version? – Mohamed El-Qassas MVP Sep 20 '17 at 13:45
  • 2013 version, so if my url is (TESTING/Lists/TEST%20Board/AllItems.aspx) so would l use <property name="WebUrl" type="string">~sitecollection/TESTBoard</property> or would l need to include the site collection name ? – John Smith Sep 20 '17 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.