Forum Discussion

MrUhderhill's avatar
MrUhderhill
Brass Contributor
Jan 26, 2024

Filtering a Content Query Web Part using query string parameters in SharePoint Online (Modern Pages)

I created a SharePoint Online Page (modern) and added a Content Query Web Part.  I connected the web part to a list and I can see all the items, however, I want to navigate to this page and send a query string to filter the results.

 

I tried using the FilterField and FilterValue approach, but it doesn't work.  It works well if I use them while navigating to the list page (AllItems.aspx), but not if I use them on a custom Page with a content query.

 

Let me know if there is a way to do this, thank you

Resources