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.
http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025
image

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. http://www.adobe.com/misc/linking.html

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.
image

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

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

Name it as .pdf.

Step 6
Now add the following GUID as the default key.
{E8978DA6-047F-4E3D-9C78-CDBE46041603}
image

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.
image

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.
image

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

Save the file.
Start IIS Service

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

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

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.
image

SharePoint Rocks!!

1 comment:

Chanaka Gamage said...

Nice thing.
Very useful article.