Wednesday, March 12, 2008

Install Adobe PDF Icon and IFilter for SharePoint/WSS/MOSS 2007

  1. Download and install Adobe Acrobat Reader 8 on the server (the reader now includes the iFilter by default, previously you had to install the iFilter separately)
  2. Add the PDF file type to your search index (note that this has to be completed for each index, i.e. each Shared Service)
    1. Open your Search Settings - SharePoint 3.0 Central Administration - SharedServices1 - Search Settings
    2. Select File Types
    3. Click Add File Type
    4. Enter pdf in the text box (labelled File extension) and click OK
  3. Download the PDF icon (select 'small 17 x 17') from http://www.adobe.com/misc/linking.html
    1. Give the icon a name (I use pdficon.gif)
    2. Save the icon in c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES
  4. Edit the Docicon.xml file to include the PDF icon
    1. Navigate to c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML
    2. Open the DOCICON.XML file in Notepad (or an XML editor). You should see that the file has two main tags - ByProgID and ByExtension
    3. Within the ByExtension tag, add an entry for the PDF icon 'Mapping Key="pdf" Value="pdficon.gif" /' (replace the single quotes with angle brackets)
    4. Save and close the file
  5. Perform a full crawl of your content sources

No comments: