Tuesday 29 June 2010

Configuring the Adobe PDF iFilter for SharePoint 2007

Below are steps for installing the x64 Adobe PDF iFilter for SharePoint 2007:


  1. First of all, install the x64 Adobe PDF iFilter to the SharePoint index server. This file can be found on the Adobe website, or by searching Google
  2. When installed, open Central Administration on the index server
  3. Open the SSP thats relevant to the iFilter
  4. Click Search Administration under the Search heading
  5. Click File Types
  6. Click New File Type
  7. Type pdf and click OK

Next, we need to verify that PDF has been added to the registry correctly:

  1. Run Regedit by browsing to c:\Windows\system32\regedt32.exe
  2. Within the left hand side tree, browse to: \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\{site GUID}\Gather\Portal_Content\Extensions\ExtensionList
  3. If PDF extension is present, skip to Step 8 to verify the second location. If PDF extension is not present, continue with the next step
  4. Right click on right-side Extension List pane and choose New > String Value
  5. Add a name to the new Registry Key (e.g. “38” - basically the next in line)
  6. Double click the new Registry Key. For Value data, enter pdf
  7. This would automatically add an entry for ‘pdf’ filetype as mentioned above
  8. Verify that PDF has the correct settings in a second registry location.
  9. While still in Regedit, within the left-side tree, browse to: \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\Filters\.pdf
  10. Verify the following values. If values are not as shown, edit them.
    i. Default =
    ii. Extension = pdf
    iii. FileTypeBucket = 1
    iv. MimeTypes = application/pdf
  11. Verify that PDF has the correct settings in a third registry location.
  12. While still in RegEdit, within the left-side tree, browse to: \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
  13. Verify the following values. If values are not as shown, edit them.
    i. Default = {E8978DA6-047F-4E3D-9C78-CDBE46041603} OR {56BD18AD-CF9C-4110-AAAA-B2F96887D123}

The final part, is to sort out the PDF Icon. If you search on the internet, there are plenty of 16x16 PDF Icons about. Firstly obtain this, and proceed with the following steps on the index server.

  1. Copy the 16x16 PDF Icon you have downloaded to the following location:
    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES
  2. Add an entry in docicon.xml for the pdf icon by copying/pasting and adjusting one of the other entries on a new line. The location for this XML file is:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\XML

The last thing to do is restart all SharePoint services as well as IIS:

  1. Launch the Command Prompt by clicking Start > All Programs > Accessories > Command Prompt
  2. Type the following at the prompt: “net stop osearch”. Wait for success message.
  3. Type the following at the prompt: “net start osearch”. Wait for success message.
  4. Type the following at the prompt: “iisreset”. Wait for success message.
  5. Close the Command Prompt window.

Microsoft Office SharePoint Server can now index PDF files. Also, the PDF icon should show in File Types list in Central Administration and therefore along side the search results that appear.

No comments:

Post a Comment