SharePoint Hightlighted content WebPart Custom query

Occasional Contributor

In a SharePoint Hightlighted content WebPart it's possible to add custom queries to filter documents and elements. I can use custom queries for user properties or others, but for URL parameters like {QueryString.<ParameterName>} it doesn't work.


My target:

I would like to show documents in a Highlighted content webpart based on url parameter.


My custom query in the highlighted content webpart looks like:  

(Path:"https://<tenant><Site>/FreigegebeneDokumente/") AND


My URL looks like this: 

https://<tenant><site>/SitePages/ProzessseiteURLFilter.aspx?Prozess=B  Personal


Thanks for inputs.

0 Replies