KQL query for managed metadata

Copper Contributor

Hello, 

 

I'm quite new to KQL , however it appears to be the best way to do what i want which is I'm using the Highlighted Content webpart and wish to display documents from another site which are tagged with one or more managed metadata column. 

 

For example, on Site A i wish to display documents from Site B which are tagged with Term set (Office) = Term (London).

 

What would the query be? Currently mine is the following however it's not working:

 

ows_taxId_Office:"GP0|#7ee8fd39-392c-4d6e-a05b-e4903122ab25"

 

 

1 Reply

@Rory2019 To make it work you can use the following

1. Use a refinable property RefinableString20 to map it to the crawled property ows_taxId_Office

2. And use the refinable property to query

 

i.e. 

RefinableString20=GP0|#7ee8fd39-392c-4d6e-a05b-e4903122ab25