puneet's profileAchilles WatchesPhotosBlogListsMore Tools Help

Blog


    MOSS: Configure icons for PDF documents in search results

     
    To configure the icons for PDF documents to show up in search results (read more about configuring MOSS search to index PDF documents) or in the default view of the document library, follow the steps below: 
     
    1. Copy the .gif file to
        SharePoint Server 2007- Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images
     
    2. Edit the Docicon.xml file to include the .pdf extension. To do this, follow these steps:

     a.  Start Notepad, and then open the Docicon.xml file. The Docicon.xml file is located in one of the following folders on the server:
     SharePoint Portal Server 2003 - Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\60\Template\Xml
     SharePoint Server 2007- Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\60\Template\Xml

    b.  Add an entry for the .pdf extension. For example, add a line that is similar to the following to the Docicon.xml file, where NameofIconFile is the name of the .gif file:
    <Mapping Key="pdf" Value="NameofIconFile.gif"/>

    c.  On the File menu, click Save, and then quit Notepad.

    3. Restart the server.

    Enjai Maadi,

    Puneet.H
    AddThis Social Bookmark Button

    MOSS and Searching PDF Documents

     
    I was trying to configure MOSS search to index PDF documents present in the document libraries. Here are the steps:
     
    1. Download Adobe Reader 8.x from here and install it on the server.
    2. Add the filter extension to the File Types crawled:
    Start -> Program -> Microsoft Office Server -> SharePoint 3.0 Central Administration  -> <Name of SharedService Provider> -> Search Settings -> File Types -> New File Type (Add extension  pdf here)
    3. Modify the following registry default values with the new CLSID for the Adobe IFilter:
        {E8978DA6-047F-4E3D-9C78-CDBE46041603} (run regedit in the command prompt )
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
    Default --> {E8978DA6-047F-4E3D-9C78-CDBE46041603} 
     
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters \Extension \.pdf     Default --> {E8978DA6-047F-4E3D-9C78-CDBE46041603} 
    4. Add the Installation directory of the Adobe Reader v.8 to the System Path. For example, if the Reader is installed on "D:\Program  Files\Adobe", then add "D:\Program Files\Adobe\Reader 8.0\Reader" to the system path by:
               Right Click on My Computer -> Properties -> Advanced -> Environment Variables -> Path (Under System Variables) -> Edit -> (Add "D:\Program Files\Adobe\Reader 8.0\Reader"). 

    5. Restart the search service by running the following commands in the prompt:
    > net stop osearch 
    > net start osearch
    Enjai Maadi,
    Puneet.H