Wednesday 3 September 2014

SharePoint result source based on Managed meta data column

I have a list which using content type: MyContentType and it is having 2 columns.
Column names: MyTermStoreColumn type as Managed Metadata,isActive type as Bool.
Now i have created a page using term.
I have added content search web part.
Now i have to add a result source, which will get the data from list.

My result source query will be:

path:"https://SPO/teams/MySite" SPContentType=MyContentType owstaxIdMyTermStoreColumn:{Term.Id} isActiveOWSBOOL=1