KQL query for managed metadata

%3CLINGO-SUB%20id%3D%22lingo-sub-1641667%22%20slang%3D%22en-US%22%3EKQL%20query%20for%20managed%20metadata%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1641667%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20quite%20new%20to%20KQL%20%2C%20however%20it%20appears%20to%20be%20the%20best%20way%20to%20do%20what%20i%20want%20which%20is%20I'm%20using%20the%20Highlighted%20Content%20webpart%20and%20wish%20to%20display%20documents%20from%20another%20site%20which%20are%20tagged%20with%20one%20or%20more%20managed%20metadata%20column.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20on%20Site%20A%20i%20wish%20to%20display%20documents%20from%20Site%20B%20which%20are%20tagged%20with%20Term%20set%20(Office)%20%3D%20Term%20(London).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20would%20the%20query%20be%3F%20Currently%20mine%20is%20the%20following%20however%20it's%20not%20working%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eows_taxId_Office%3A%22GP0%7C%237ee8fd39-392c-4d6e-a05b-e4903122ab25%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1641667%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional 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"

 

 

0 Replies