0

Is it possible to limit the search point search control to only show results that are considered 'Pages'?

1

Yes, actually you could use the STS_Content_class with the value of "STS_ListItem_850": // Page in a Pages Library either in the Core Search Results or by creating your own Search Scope.

5
  • 1
    I assumed by PAGES you mean the Pages library in the Publishing Site! There is also the :isDocument value for any kind of document (pages included) – Marius Constantinescu - MVP Sep 25 '12 at 13:50
  • Yeah i meant the Pages Library. But this also may come in handy, thanks. – TeddyRuxpin Sep 26 '12 at 18:11
  • Where is the best place to declare the "STS_Content_class"? – TeddyRuxpin Sep 26 '12 at 18:21
  • It all depends on your use, as I mentioned you could use it in your Search Scopes, or directly in your Core Search Results web parts in pages where you use them – Marius Constantinescu - MVP Sep 26 '12 at 23:11
  • Is it possible to set it in the default search page 'osssearchresults.aspx'? – TeddyRuxpin Sep 27 '12 at 14:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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