Wednesday, 29 January 2014

Search a particular List or Document Library

In this post I will explain how to create a search page for a specific list or document library ,using Out of the box components

  1. Create new page  name it "Search Page"


  2. Change the page Layout to Blank Webpart Page
  3. Add Search box webpart and search result webpart
  4. Edit the search result webpart
  5. click on Change query
  6. add PATH:your_documentLibrary_root_folder/* and IsDocument:1 to the query  like in the example I want to retrieve only the documents in the Admin document library in root site collection of web application http://sp:2020


Using these steps you can create custom search page you can add refiners and search navigation webparts as well if you need

Related Articles

0 comments:

Post a Comment