Thursday, May 21, 2009

Adding a Document Icon to a SharePoint Library

Steps to add an icon for .pdf files.

1. Save the image you wish to see as the PDF document icon to "\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images\pdf.gif" - You can download icon image from http://www.adobe.com/misc/linking.html. (17x17)
2. Edit "\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml\DOCICON.XML"
3. Add the following line. (Here value sould be your file name).

4. Repeat step 2 and 3 for all WFE.
5. run iisreset

Above given steps are for Sharepoint 2007. For Sharepoint 2003 version folder should be "60" instead of "12".

No comments: