Saturday, January 8, 2011

PDF in SharePoint 2010

This is a step-by-step guide to setup and configure Adobe PDF file search in SharePoint 2010.

Step 1
Download the Adode iFilter from the following url.

Step 2
Download the pdf icon file. Download a 16*16 gif or a png file. Or else you can download it from the below url.

Step 3
Extract the zip file and install the PDFFilter64installer file which you downloaded in Step 1.

Step 4
Open the “Run” window and open Registry Editor running the regedit command.

In Registry editor browse to location \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension

Step 5
Right Click on “Extension” and add a new Key.

Name it as .pdf.

Step 6
Now add the following GUID as the default key.

Step 7
Now is the time to set the icon for pdf files.
Copy/Move the pdf icon you downloaded in in Step 2 to the following folder.
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES
Next open “Internet Information Services (IIS) Manager and Stop the service.

This step is required as you are going to amend a file which is currently in use.

Step 8
Browse to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML and open the DOCICON.XML file. (use Notepad). And do a search for the <ByExtension> tag.

Add the line <Mapping Key="pdf" Value="pdficon_small.gif" />
(replace pdficon_small.gif with your icon name)

Save the file.
Start IIS Service

Step 9
Open SharePoint Central Administration. Under Application Management select Manage Service Applications. Open Search Service Application.

Step 10
Select File Types on the left menu. Click New File Type. Enter pdf and click OK. Smile

Step 11
Click on Content Sources and do a Full Crawl (not an Incremental Crawl). After completing job, you know what to do. Smile with tongue out Do a search.

SharePoint Rocks!!

1 comment:

Chanaka said...

Nice thing.
Very useful article.