Click here to Skip to main content
6,295,667 members and growing! (14,583 online)
Email Password   helpLost your password?
Platforms, Frameworks & Libraries » .NET Framework » General     Intermediate

How to configure SharePoint Portal Server 2003 to search contents of list attachments

By Syed Adnan Ahmed

This article describes the process of configuring SharePoint Portal Server search to search the contents of list attachments.
C#, .NET, Win2K, Win2003, Visual Studio, Dev
Posted:9 Jun 2006
Views:25,023
Bookmarked:7 times
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
4 votes for this article.
Popularity: 1.58 Rating: 2.63 out of 5
1 vote, 25.0%
1
1 vote, 25.0%
2

3
2 votes, 50.0%
4

5

Overview

Applies To:

  • Microsoft SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services
  • Microsoft� ASP. NET 1.x, 2.x
  • Microsoft� Visual Studio� .NET 2003

Summary:

By default, SharePoint Portal Server 2003 is not configured to search list item or contents of list attachments. To search list attachments, SharePoint uses Indexing searching to crawl the documents. This type of searching is not possible through Windows SharePoint Services (WSS), because it uses Microsoft SQL Server full text searching to search list items. In this article, I will go through the steps required to configure SharePoint Portal Server to make searching the contents of list attachments possible.

Contents

Site Rule

You can create rules that include or exclude contents from the content index. These rules are called site restrictions and site path rules. A site restriction rule is the main rule for a site. You can show or hide the other rules for a site by clicking the plus sign (+) or minus sign (-) next to the site restrictions. The other rules for a site are called site path rules. The site restrictions define the overall rules for a site, and the site path rules are rules for specific parts of the site. The site path rules are nested inside the site restrictions rule.

Create Site Rule

Steps to follow:

  • Click "Site Settings" --> "Configure Search and Indexing" under "Search Statistics and Indexed Content".
  • Click "Manage Content Sources" under "Other Content Sources" heading.
  • Select "This Portal" and click "Edit" through context menu.
  • On the "Edit This Portal" page, click "Advanced" -> "Exclude and Include Content".
  • It will redirect you to create a new rule page, delete the existing site.
  • Click "New Rule". It will redirect you to create a new rule page.

  • On the "Create Site Rule" page, enter the portal site URL and select "Include all items in this path".
  • Check "Crawl Individual SharePoint List Item".
  • Click OK to create the new rule.

Re-build Index

After creating the new rule, you have to re-build the index of the portal content in order to crawl individual list items with attachments.

Steps to follow:

  • Click "Site Settings" --> "Configure Search and Indexing" under "Search Statistics and Indexed Content".
  • Click "Manage Content Indexes" under "Content Indexes" heading.
  • Click "Portal_Content" and "Reset Content Index". This action will empty the content indexes.
  • Click "Portal_Content" and click "Start Full Index" to crawl the portal contents.

Conclusion

Once the portal content index builds again, you can search list items with attachments.

For update information, refer to my blog.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Syed Adnan Ahmed


Member
Adnan Ahmed is a Senior MS Solutions Consultant in PM Centrix (http://www.pmcentrix.com), the IT Consulting Company in Ireland and has involved with many large enterprises to help them realise real benefits of MOSS 2007. Microsoft Certified Technology Specialist (MCTS) for SharePoint 2007 & 2003, Project Server 2007, MCSD.NET

Email: adnan.ahmed@sharepointserverblogs.com
Owner: http://www.mossgurus.com
http://www.sharepointserverblogs.com
Linked In Profile: http://www.linkedin.com/in/syedadnanahmed

My Blogs:
http://www.mossgurus.com/adnan
http://www.sharepointblogs.com/adnan
Occupation: Architect
Company: PM Centrix
Location: Ireland Ireland

Other popular .NET Framework articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 2 of 2 (Total in Forum: 2) (Refresh)FirstPrevNext
GeneralCustom View PinmemberNewITMember21:12 10 Oct '07  
GeneralSmall Question?? PinmemberRicardo Casquete13:27 4 Jul '06  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 9 Jun 2006
Editor: Smitha Vijayan
Copyright 2006 by Syed Adnan Ahmed
Everything else Copyright © CodeProject, 1999-2009
Web18 | Advertise on the Code Project