Add pdf document icon to WSS

First of all, find an appropriate .gif icon for pdf document form internet and copy that image in the Images directory at the path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Template\Images” 

Now open Docicon.xml file found at the path “C:\ \Program Files\Common Files\Microsoft Shared\Web server extensions\60\Template\Xml” or at the path “C:\ Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml” 

Locate the tag <ByExtension> in the file Docicon.xml and the line <Mapping Key=”pdf” Value=”NameOfTheImage.gif”/>.

Save and close the file. Restart IIS and icon will be added. You can test it by adding a pdf document in the document library. 

http://msdn2.microsoft.com/en-us/library/ms948139.aspx

http://support.microsoft.com/kb/837849

Advertisements

2 Comments »

  1. MonthsForever said

    nice. thanks. this was exactly what I needed for work.

  2. cory said

    again this procedure proved useful for adding an other icon to a different extension. thanks for the simplicity. I suggest making sure when doing this that you have selected the right path. My image folder is in 12\Template\images not 60.

RSS feed for comments on this post · TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: