I have a Search Results Web Part (SRWP) and there are few Pages which are based on Content Type, that content type contains a field "Visibility". There is a custom web part which searches for this content type pages and ignores the one's having Visibility set to false.

But since SRWP don't know about this field, it still shows up the one's having this field set to false.

Is there a way to customize SRWP to not show Pages where this custom field is set to false?

Or is there a way to completely ignore this content type in SRWP (since we have a separate page for searching these content types)?


1 Answer 1


You should be able to use the "Append text to Query" property on the Search Core Results webpart:

  1. Search Core Results web part
  2. Search Core Results Action Links
  3. Results Query Options
  4. Append Text to Query

Try to append something like NOT YOURPROPERTY:1

Hopefully this will give you all pages without your property, or with your property set to 0 (false)


  • Do I need to create Managed Property first ? Also, can you please paste the XML/XSLT generated after setting the Append text to Query property.. I can't see the properties in UI, but have to work on XML/XSLT.. Or Web Part declaration.. Commented Mar 18, 2014 at 10:08
  • Is AppendedQuery="" the property? Commented Mar 18, 2014 at 10:09
  • Could be, I do not have an environment at hand to configure this I'm afraid Commented Mar 18, 2014 at 10:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.