SharePoint DIY

Main navigation

  • ← IE 7 Login Prompt after Installing MOSS
  • Creating Basic Pages →

Crawling PDF files in MOSS Search

Posted on Mar 18, 2009 by admin

MOSS Search is great because it not only crawls documents for search results, but it crawls the content inside the documents as well.  However, MOSS “out-of-the-box” will not crawl the content of PDF files.  Have no fear!  I wouldn’t be writing this blog if I didn’t know the steps to the solution.  Check out the following process:

The first step is to download and install the Adobe iFilter http://www.adobe.com/support/downloads/detail.jsp?ftpID=2611

Before you run the installer on the server where your MOSS is located, stop the IIS Admin service by running IISReset /stop from your Command Prompt.  After the iFilter is finished installing, start the IIS Admin service by running IISReset /start.

Next go to your Shared Services site under SharePoint 3.0 Central Administration
 
Then click Search Settings under Search.
 
On the next screen, choose File Types.
 
Add the .pdf file type to the index list. In the box, simply type pdf.
 
You may also want the PDF icon to display within the search results itself.  Currently this icon is not available within SharePoint.  It is very easy to grab though.

Download the PDF icon (select ’small 17 x 17′) from http://www.adobe.com/misc/linking.html

Name the icon “pdficon.gif”.

Save the icon in the following location: c:Program FilesCommon FilesMicrosoft Sharedweb server extensions12TemplateIMAGES

Next you will need to edit the .xml file that SharePoint uses to map file types to icons. This file is the DOCICON.XML file.  It is located here:  c:Program FilesCommon FilesMicrosoft SharedWeb server extensions12TemplateXmlDOCICON.XML

Open the XML file in Notepad or SharePoint Designer.   Add the following code in the <ByExtension> section:  <Mapping Key=”pdf” Value=”pdficon.gif”/>.  Save the file.

Run iisreset from your command prompt.  When that is finished, run your Search crawls.  Now you should be able to search the contents of PDF files and have a PDF icon as display as the document image.

 

Category: Articles, Tutorials

top ^

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Recent Posts

  • Create a nicer looking hyperlink instead of the full URL using simple HTML
  • “The template you have chosen is invalid or cannot be found” – Solution
  • Making the “Encoded absolute URL” work with a list in SharePoint
  • Export a SharePoint site as a Site Template (.stp file)
  • Upload and use a site template (.stp) in SharePoint

Recent Comments

  • RYAN on Add a new subsite using SharePoint Designer
  • JAMES on “The template you have chosen is invalid or cannot be found” – Solution
  • SEAN on The paste text dialog box
  • Webmaster on Security settings for a subsite
  • morison dony on Export a SharePoint site as a Site Template (.stp file)

Archives

  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009

Categories

  • Articles
  • Featured
  • Tutorials

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Go Metal Detecting!

Check it out: The Best Metal Detector Store @ Serious Metal Detecting


  • Adventure Metal Detectors
  • Treasure Metal Detectors
  • Gold Metal Detectors

Minelab E-TRAC for sale at Serious Detecting

Tags

HTML MOSS Outlook SharePoint Designer Workflow WSS

Categories

  • Articles
  • Featured
  • Tutorials

Search

SharePoint DIY | Copyright SharePoint DIY