Trying to figure it out, how to create a web part with multiple lists? I got two lists for now. One is people on holidays other is people on business trip. I want to display those two lists in one web part, who is out office today. Maybe you guys have other ideas on how I can accomplish this?

Currently I am using SharePoint 2013

  • You want to use some out-of-the-box Webpart or to create your custom one? You could use Content Query Web Part (CQWP) to fetch items by content type. Create one base content type with fields in both types (holidays and business trip) and use CQWP. support.office.com/en-us/article/… – Lukas Nespor Jan 3 '19 at 13:35
  • I need to display for now two lists. Who is on holidays and business trip. Either there is no CQWP or me being blind and can't find it – Lukas Šliužas Jan 11 '19 at 10:39
  • You need to enable SharePoint Server Standard Site Collection feature. Then you will see it in the Content Rollup category. support.office.com/en-us/article/… – Lukas Nespor Jan 11 '19 at 10:41
  • It is enabled but I can't find it – Lukas Šliužas Jan 14 '19 at 14:45

Content Query web part will be what you're after... however, you are going against best practice and the web parts should be as context specific as possible. This means seperating them out

  • Yes, I do understand that. I need to somehow display multiple lists data in one place which will be displayed on the main TV. – Lukas Šliužas Jan 11 '19 at 10:37

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.