Adding PDF to MOSS 2007

As you are probably aware SharePoint 2007 doesn’t include out of the box recognition of Adobe Acrobat (pdf) documents. When I recently wanted to add recognition in I found very little information related specifically to 2007 so I thought I would record what I found here.
 
To enable search to be able to index PDF documents you need to install the appropriate iFilter (as you did in 2003). Download the latest version of the Adobe Acrobat iFilter, in this case version 6, from the Adobe site. Install it as per the Adobe instructions. You then need to confirm that the following registry entries are in place. I found they were under SharePoint Portal but I believe this isn’t the case under WSS.  So verify and add the following registry settings:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12\Search\Setup\Filters\.pdf
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12\Search\Setup\Filters\.pdf
 
Now, to have SharePoint associate a PDF icon with documents with the extension .pdf, we must locate an appropriate sized icon (16pixels by 16pixels) and copy it to the c:\program files\common files\microsoft shared\web server extensions\12\template\images directory. Then we open the file docicon.xml in the directory c:\program files\common files\microsoft shared\web server extensions\12\template\xml\ in your favourite XML editor, scroll down to the ‘By Extension’ section and add the appropriate entry. I’ve added a PDF icon to this blog entry if you don’t have one.
 
Once this is done you need to add PDF as a recognised file extension for indexing in SharePoint. To achieve this start up Sharepoint Central Administration then select Shared Services Administration. Next, under the Search section, select Search Settings. Now select File Types from the list of actions under Crawl Settings. Finally select New File Type and add .pdf as an indexable file type.
 
To wrap it all up you will need to run iisreset from the comand prompt on the SharePoint server as well.
 
Advertisements

1 Comment

Filed under Microsoft Office Sharepoint Server 2007

One response to “Adding PDF to MOSS 2007

  1. Ian

    Hi Kirk,
     
    Thanks for the steps for the iFilter.  It all worked a treat on my demo setup!
     
    CheersIan

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