How filter Highlighted content web part using query string parameters?

Copper Contributor

We are transforming a classic SharePoint environment to Modern Pages and now we are working on a dynamic page that is displaying content using the Search Results web part. This web part is filtering search results based on a 'KmsId' parameter supplied in the browsers query string. In the Search Results web part I can use {QueryString.KmsId} for this.

 

How can I configure the Highlighted Content web part to filter content based on a parameter as supplied in the querystring? Can I use something like {QueryString.KmsId} to filter Highlighted Content results or is there some of a workaround to implement this using Modern Pages?

0 Replies