I have a managed property isActive
which happens to be a Boolean. I am creating a search query and I only want the ones that are active so isActive:true
however I am having trouble with the correct syntax.
Can anyone tell me this I am using sharepoint 2013
-
which sharepoint version are you using 2010/2013? – Varun Verma Sep 25 '14 at 10:20
-
edit has been made – jimmywhizz Sep 25 '14 at 10:20
Try isActive=1
this means it equals true. isActive:1
is a contains query.
-
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. – Waqas Sarwar MVP♦ Sep 25 '14 at 22:28
-
Waquas, isn't that for the asker to decide? I believe it does answer the question. – Matthew McDermott Sep 26 '14 at 12:08
-
it is too short and may be it provide the answer...in many cases you leave this as comment if asker says its work then you can put into the answer. – Waqas Sarwar MVP♦ Sep 26 '14 at 13:48
-
4When an answer actually answers the questions who is to say it's too short? I'll wait for the asker. – Matthew McDermott Sep 26 '14 at 20:15
-