SOLVED

Can i dynamically filter a list on a page to match content to the page title

Copper Contributor

Hi Folks,

 

I have a Sharepoint list (Risk_links) with groupings that provides links to areas of risk.

 

I have an index page

I also have a page for EACH risk category that provides guidance on that topic.

 

On each topic page I have hosted the 'list web part' that links to RIsk_links.

 

~~

 

What I am hoping to achieve is to have each topic page filter the Risk_links list to only show the same items with the same category as the page title

 

E.G.

 

Topic page = Asbestos

filter the Risk_links list to only show 'Asbestos' rows.  

 

~

 

I could create a list in each page, and manually upload the relevant content, what i'd like though is the one master list that is dynamically filtered so i can keep one thing current rather than having to keep many things current.

 

This would also help me create a page template so that new topics could be added fairly seamlessly.  

 

~

 

Is there a setting (or some JSON) that can help the list in each topic page to dynamically filter the list as desired?

 

Thanks

2 Replies
best response confirmed by Flowlynow (Copper Contributor)
Solution

@Flowlynow 

You can create views on the list for each risk category then set the webpart to display that view you would need to configure the webpart for each new page but it's simple to add the view to the webpart 

These resources shpuld help

https://support.microsoft.com/en-gb/office/use-the-list-web-part-ef0a1b80-f8b3-443d-b04a-1e76c70b553...

 

https://support.microsoft.com/en-gb/office/create-change-or-delete-a-view-of-a-list-or-library-27ae6....

 

Thanks Josh and I'll give it a crack!

My only concern with views is that I thought that the views apply to the master list, and then what ever one you picked on the list page will present on each topic page.

IF, you cna make views on the topic pages that are not coupled to the master view and aren't upset by another topic page - then thats great!

Thaks
1 best response

Accepted Solutions
best response confirmed by Flowlynow (Copper Contributor)
Solution

@Flowlynow 

You can create views on the list for each risk category then set the webpart to display that view you would need to configure the webpart for each new page but it's simple to add the view to the webpart 

These resources shpuld help

https://support.microsoft.com/en-gb/office/use-the-list-web-part-ef0a1b80-f8b3-443d-b04a-1e76c70b553...

 

https://support.microsoft.com/en-gb/office/create-change-or-delete-a-view-of-a-list-or-library-27ae6....

 

View solution in original post