The challenge here is to get filters applied to certain content (on SPO-OOTB or PnP Modern Search v4 webparts) via URL params.

Query String URL Tricks for SharePoint and Microsoft 365 https://docs.microsoft.com/en-us/microsoft-365/community/query-string-url-tricks-sharepoint-m365

  • Could you elaborate on your question? What are you trying to achieve URL parameters specifically? SharePoint doesn't use them everywhere but does sometimes with search for example. Jul 20, 2022 at 10:28
  • I want to filter some webparts content via URL params. More specifically, you have a Highlighted content webpart and I want to define a custom query which will rely on a URL param passed on.
    – fallout
    Jul 20, 2022 at 11:10
  • 1
    Ahhh I see, I don't believe the highlighted content web part accepts URL parameters. I've certainly never seen URL parameters used with it by Microsoft or anyone else. As for the PnP Modern Search web part, it might accept URL parameters but if it doesn't it's open source so you could fork the project and build that functionality on to it. Jul 20, 2022 at 13:21
  • thank you for your input @CallumCrowley
    – fallout
    Jul 20, 2022 at 15:21


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.