How to Filter SharePoint Site Pages with a URL Query String
Question details
The user wants to filter multiple connected web parts on a modern SharePoint site page using URL query parameters.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Attempting to apply dynamic global filters to a modern SharePoint site page containing connected web parts by appending parameters like FilterField and FilterValue to the URL.
- Observed behavior
- Modern SharePoint site pages do not support global page filtering by passing query parameters in the URL, unlike classic list or library views.
Verify whether you are viewing a standard SharePoint List or Document Library view versus a modern Site Page, as native URL query string filtering is only supported on standard list/library views.
Use Built-in Connected Filters and Filtered Views
Since modern site pages do not globally read URL query parameters, you can rely on connected web parts or predefined custom views to achieve filtering.
Instead of relying on URL parameters, SharePoint offers dynamic filtering. This allows a list or library web part on your modern page to filter its contents based on an item selected in another web part on the same page.
Navigate to the source list or library, click the view dropdown, and create a new view pre-filtered to the specific criteria you originally wanted to pass via URL.
Go to your modern SharePoint site page and click 'Edit' in the top right corner.
Select the list or library web part, click the pencil icon to edit its properties, and select the newly created filtered view from the dropdown menu.
In the web part properties, enable 'Dynamic filtering' to connect the web part to another list web part on the page, allowing interactive filtering without changing the URL.

Develop a Custom SPFx Solution
For advanced scenarios where reading the URL query string is mandatory, you can deploy a custom SharePoint Framework (SPFx) web part.
Enhance Document Collaboration with WPS Office
While resolving SharePoint site configurations, consider using WPS Office for your actual document workflows. It is a highly compatible, free alternative to Microsoft Office that perfectly handles Word, Excel, and PowerPoint files downloaded from SharePoint.
- 1. Download and Install: Visit the official WPS website to download and install the free suite on your device.
- 2. Open Cloud Documents: Easily open your existing Office files downloaded from SharePoint or synchronized via OneDrive.
- 3. Edit and Collaborate: Use the highly compatible editing tools to format your documents efficiently.

Frequently Asked Questions
Why do FilterField and FilterValue work on standard lists but not modern site pages?
These specific query parameters are strictly designed for classic and standard SharePoint List or Document Library views. Modern site pages are designed to host multiple independent web parts, and they lack the native architecture to route URL parameters to specific web parts automatically.
Is there any way to use interactive filtering without custom code?
Yes, SharePoint supports dynamic filtering. You can connect a List web part to another List or Library web part on the same page. When a user selects an item in the source list, it automatically filters the connected list.
Can I use Power Apps to filter site page contents via URL?
Yes. If you embed a Power App on your SharePoint site page, the Power App can be configured to read parameters passed into it and filter the gallery or data source accordingly, serving as an effective low-code workaround.




