Sunday, September 20, 2009

Adding the pdf icon to WSS or MOSS implementation.

These steps will add the pdf icon to any pdf document in document libraries.

Steps:

  1. Save the following icon as pdficon.gif or download an icon from: http://www.adobe.com/misc/linking.html

    2- Make sure that you download the 17 x 17 icon.

    1. Add the PDF icon. “pdficon.gif to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images
    2. open with an xml editor Docicon.xml file located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\xml
    3. Within the tag add the following Mapping tag


    Make sure it is in alphabetical order and the value equals the name of the icon file.

    4. Save the Docicon.xml file
    5. Restart IIS.
    6. Check a document library you should now see a pdf icon next to all pdf documents.