Tuesday, 17 June 2014

SharePoint result source

I was trying to fetch the data from SharePoint Result Source using Content Type and list column type is bool.
I have a List content type as: Emp and list column as: isActive which is bool type.
Now my result source is:
General Query: 
path:"<SP Site>" SPContentType=<Content Type Name>  <Managed Property of the List Column>=<value>
My Query Ex:
path:"https://SP/teams/MySite" SPContentType=Emp isActiveOWSBOOL=1