Skip to content
January 9, 2008 / red1s

Returning PDF result set documents in MOSS 2007 and WSS 3.0


  1. Download and install the following file on your server:
    1. Depending on which installation you have; select from the following options to install the Adobe Ifilter:

i. 64 Bit Version 9

ii. 32 Bit Version 9

iii. Download the Acrobat PDF Picture, to display in front of PDF search result items, from http://www.adobe.com/misc/linking.html

  1. Add the PDF file type to the Extensions List for WSS search by editing the registry
    1. Start regedit
    2. Open the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\{Random GUID}\Gather\Search\Extensions\ExtensionList
    3. Add PDF to the list as a new String Value. Use a new high value e.g. if 37 is the highest value, use "38" as the key with the value "pdf"
  2. Add the Acrobat PDF picture to the SharePoint templates directory. Copy the Acrobat PDF picture called pdficon_small.gif in the 12 Hive\TEMPLATE\IMAGES folder, e.g. %programfiles%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\IMAGES.
  3. Bind the Acrobat PDF picture to the PDF file type
    1. Open the 12 Hive\TEMPLATE\XML\DOCICON.XML file
    2. Find the <DocIcons.ByExtension> part
    3. Add the following mapping:
      <mapping Key="pdf" Value="pdficon_small.gif" OpenControl="" />  Change IFilter mapping in registry
    1. Start regedit
    2. Open the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\
    3. Add (or modify) the .pdf key
    4. Add a Multi-String value with value {E8978DA6-047F-4E3D-9C78-CDBE46041603} or modify if another GUID value already exists.
    5. Open the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\
    6. Add (or modify) the .pdf key
    7. Add a Multi-String value with value {E8978DA6-047F-4E3D-9C78-CDBE46041603} or modify if another GUID value already exists.
  4. Add the Adobe Reader folder to the environment path variable
    1. Right Click on My Computer
    2. Open Properties
    3. Open the Advanced tab
    4. Go to the Environment variables
    5. Edit the Path variable
    6. Add your Reader folder to the Path list, e.g. C:\Program Files\Adobe\Reader 9.0\Reader
  5. Restart the Search service by restarting your server or executing the following commands:
    1. Run: net stop osearch
    2. Run: net start osearch
  6. Crawl the PDF documents
    1. Existing PDF documents that were crawled before the Adobe PDF IFilter has been installed are not indexed during an incremental crawl. You have to edit each existing PDF file to trigger the crawler to reindex the file during an incremental crawl. It´s easier to run a full crawl after you have installed the Adobe PDF IFilter.
Digg This
Advertisements

Leave a Reply

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

%d bloggers like this: