We have a customer that requested us to show only documents (word, excel, pdf) in search results. We removed all other file types in search, and that worked ok after a while.

However, now they also wants to show links from "link list". But when we allow links, also all the views for all document libraries show up in the search results.

So we get [example]: http://intranet.customer.com/allitems.aspx, http://intranet.customer.com/mydocuments.aspx etc. showing up

Is there any way to index and display link-items from link lists, without also displaying the addresses of views in SharePoint?

1 Answer 1


You should be able to set a scope rule to achieve this:

  1. Follow the directions on this MSDN article to show raw XML data on search page
  2. Look for contentclass of an item that you want to exclude. Some forums say use STS_List_GenericList, but that did not work for me. One particular search page I was troubleshooting used STS_List_CustomGrid instead.
  3. Within the scopes section of Central Administration or on Site Settings, set a property exclusion scope rule for your undesired contentclass.
  4. Either let the scope refresh or push a refresh on Search Administration landing page in Central Administration.
  5. Edit core results webpart to use local visualization to reset to default settings
  6. Test results in query

This worked for me perfectly. Good luck!


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.