Steps to search a specific custom list


Step 1: Go to “Site Actions“, “Site Settings” and under “Site Collection Administration” click on “Search Scopes“.

Step 2: Click on “New Scope” and give it a title and leave other fields intact then click ok.

Step 3: Now add rule to this Newly created scope, click add rule.

Step 4: In Add Scope Rule window.
Select Scope Rule Type: Web Address (http://server/site)
In Web Address select Folder and type the url of custom list e.g. http://moss2007machine:55555/Lists/KallisCustomList
In Behavior select Include click OK

Step 5: You will see New scope-Ready after next update (starts in 3 minutes). Wait for update.

Step 6: After update process select Edit Properties and Rules from the context menu of new scope.

Step 7: In Scope Properties and Rules window click on New Rule.

Step 8: In Add Scope Rule Window,
Select Scope Rule Type is Property Query(Author=John DOe)
In Property Query section,
Select contentclass in Add property restrictions combo box.
In text box type STS_ListItem_GenericList
In Behavior secton now select Require. and finally click OK.

Step 9:You will see New scope-Ready after next update (starts in 3 minutes). Wait for update.

Step 10: Click on “New Display Group” and give it a title and a description. In the “Scopes” section select the scope you created in Step 2. The “Default Section” should automatically become the scope you selected.

Step 11: Wait for the server to recognize the new scope and display group.

Step 12: Go back to the page you wish to add a search box. Go to “Site Actions“, “Edit Page“, click on “Add a Web Part“. Select the “Search Box” web part and click “Add“.

Step 13: The page should be in “Edit Mode“. In the “Search Box” web part click on the “edit” button and go to “Modified Shared Web Part”.

Step 14: Expand the “Miscellaneous” section. UncheckUse site level defaults“. In the “Scope Display Group” sub-section the default display group scope will be “Search Dropdown” change this to the display group you created in Step 10. You cannot browse through the display groups so you will have to type your display group in exactly. Click on “OK“.

Step 15: Exit out of “Edit Mode“. Your search box should now have the new search scope you created in Step 2 as the default choice.

Step 16: Now by using Central Administration crawl the content of site, after crawling full
content your search scope is now ready to use. Select the new scope and in searchbox type search term
You will get the results from only specific custom list and only list item will return back.

Advertisements

One thought on “Steps to search a specific custom list

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s