Forum Discussion

nils_mueller's avatar
nils_mueller
Copper Contributor
Jun 28, 2024

Display list filtered by a fixed filter in webpart in Sharepoint365

Hello everyone,

 

please help me out, as I am starting to despair. Here's what I am trying to do:

 

I have a List of processes and a separate List of all process steps of all processes. I am using a lookup field to connect those steps to their respective process. For easier use, I want to create a SharePoint page for each process, showing, among other things, a list of the steps of this specific process.

 

Seems straightforward but, for now, I haven't found a way to create this filtered view on the List of steps in an embed.

 

I've tried three ways:

 

1. Using the List web part, there seems to be no way to define a fixed filter.

 

2. Using a list view filtered by URL parameters embedded using the embed web part – technically works but looks ugly, as it doesn't display only the list, but several control bars, which I can only remove in parts using JSON view formatting. The "?env=Embedded" parameter also seems to be doing nothing...

 

3. Creating a pre-defined list view in Lists and embedding this – also technically works but is a lot of manual work and there appears to be no way to filter a view on a hidden column, so I would have to display the name of the process as well which is redundant information.

 

My last resort would be creating a separate List for each process, but that seems a bit excessive and would massively hinder further extensions of the system.

 

Any other ideas?

 

Thanks!

 Nils

 

 

 

No RepliesBe the first to reply

Resources