Wondering if you can use a page property rather than a managed property to filter search results in modern search web parts. Normally I'd use managed properties but either due to a bug or a limitation, managed properties aren't available in group connected team sites - in any of the search based web parts.

So I can filter a highlighted content web part using a page property based on for instance a choice column (eg "Category"), but not a managed property mapped to the crawled property for that column.

I'd like to be able to use a modern search web part with a filter - something like this:

Path:https://xxx.sharepoint.com/sites/xxx/SitePages {Page.Category=Advanced tips}  

1 Answer 1


Yes, you can use the page property to filter the search results within modern search web part.

The value of a field on the page from where the query was issued. For example, if the page from where the query was issued contained a site column named "ContentOwner," specifying {Page.ContentOwner} would allow you to query for the value of "ContentOwner."

FieldName is the internal name of the field. When used with taxonomy columns, use {Page.<FieldName>.Label} or {Page.<FieldName>.TermID}

Source: Custom query variables

Also, if you are using two or more words together in value, separated by spaces; the words must be enclosed in double quotation marks, like: "Advanced tips".

You can get the exact internal name of your column by following this article: How to find the Internal name of columns in SharePoint Online?

  • Thanks, but it doesn't work using. Path: xxx.sharepoint.com/sites/xxx/SitePages {Page.Category_x002f_tag="field value"} or any variation replacing = sign with colon, space etc. Always pulls same 10 results when there are 15 or so items in the library.
    – matt
    Apr 20, 2021 at 15:15

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.