I've tagged/categorized all site pages in my SharePoint site and would like to add a highlighted content WebPart with a custom query that is able to check what values are in the managed property and then filter any site pages with those same values.
Example:
A site page containing highlighted content WebPart, with the value "Outlook" as one of its managed properties will show all site pages also containing "Outlook" as a value in their managed properties.
Currently, I only have a static way of setting this Query. I've mapped the crawl to a managed property and it works but I would like for it to be able to get the value first and then filter those pages automatically.
The below is the custom query I use.
RefinableString00: Outlook
Any ideas?
Thanks in advance