How to display multiple lists on 1 list or a view?

Copper Contributor

Hi! I have five different lists that track different products. I just want a single view to look at that will show me all INCOMPLETE status entries across all five lists so I know what needs to be worked on. Is this possible?

10 Replies

@chanpion13 This is not possible using default List web part.

 

If you have used a site column (specifically to use managed property) for your status column which indicates completed/incomplete list items, you can achieve this using Highlighted content web part by specifying the necessary filters using managed property.

 

Else, you have to develop a custom solution using SharePoint Framework.


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

@chanpion13 you can build this out-of-the-box in Power Apps without needing to use an SPFx framework (which at my company is not allowed anyway).

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User

 

Oh wow this is brilliant and what I was looking for. Can I get it so it just filters the search to sharepoint lists? specific ones or all of them.

@chanpion13 Highlighted content web part uses KQL for custom filter queries. So you can use KQL queries to return the list items from specific SharePoint lists or all lists.

 

To get items from specific lists, you can use query like:

 

Path:"https://siteUrl/Lists/List1" Path:"https://siteUrl/Lists/List2" Path:"https://siteUrl/Lists/List3" contentclass:STS_ListItem

 

To get items from all SharePoint lists (& to exclude documents) use query like:

 

contentclass:STS_ListItem

 

You can also add additional filters based on managed properties as per your requirements. Also, check below documentation related to KQL:

Keyword Query Language (KQL) syntax reference 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

can i use filter and KQL custom code at the same time or only one or the other?

@chanpion13 You can only use either one.

 

You can use Filter with managed properties by selecting them from dropdown or you can use Custom query & define filters using KQL


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

@RobElliott any suggestions on where to look for a walkthrough on how to do this with Power Apps?

@ganeshsanap This works using the "path" function for me but how can you choose the columns to display in the view? So far I have this syntax:


path: "https://mysite/sites/site/Lists/Table1"
path: "https://mysite/sites/site/Lists/Table2"
contentclass:STS_ListItem)

 

This returns the Title, Modified and Modified by column of both tables but what if I want to show the Due date column which is present in both lists?  
Many thanks! 

@jeromedewaele Unfortunately, it is not possible as currently there is no option available to customize the columns shown in Highlighted Content web part in SharePoint.

 

Check:

  1. Customize search results returned by Highlighted content web part 
  2. Control columns inside highlighted content 

Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Many thanks for the clear and lightning fast response @ganeshsanap ! Any other non-programming suggestions are welcome, it's basically a union query on 2 tables.