So you have a snazzy new SharePoint site?  It works wonderfully with Office documents.  Now you need to index all those PDF files that are floating around the office.  Fortunately, this is an easy fix.

Prerequisites

  • Windows Server 2008 R2 Standard
  • Microsoft Office SharePoint Server (MOSS) 2007
  • Adobe IFilter 9.0 for 64-bit platforms – Download
  • Adobe Acrobat Reader (to view documents)
  • A GIF to use for the Acrobat file icon – Download

Installation

  1. Extract and run PDFiFilter64installer.  Follow the prompts.
  2. Add C:\Program Files\Adobe\Adobe PDF iFilter 9 for 64-bit platforms\bin to your PATH variable.  (Right click on Computer –> Properties –>Advanced system settings.  Click the Advanced tab and click on the Environment Variables button)
  3. Open SharePoint Search Administration. (Central Administration->Shared Services Administration)
  4. Click on File Types
  5. Click on New file type.  Type in pdf for the file extension and click OK.
  6. Open regedit and navigate to \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
    Change the (Default) key to {E8978DA6-047F-4E3D-9C78-CDBE46041603}.
  7. Copy your PDF GIF icon to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES.
  8. Open C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\DOCICON.xml in Notepad.
  9. Under the <ByExtension> section add:
    <Mapping Key=”pdf” Value=”youricon.gif”/>
    Save the file.
  10. Restart the server.

There you have it.  Searchable PDF files with the proper icon.  You can initiate a full crawl again just to be sure everything already existing gets indexed.  Bear in mind that scanned PDF files (those generated from multi-function scanner/printer/fax units) are often images embedded in the PDF document and aren’t searchable.

Resources