Home > SharePoint Administration, SharePoint Advancements > How to add the pdf icon to document library in Sharepoint

How to add the pdf icon to document library in Sharepoint

The process to do this is fairly simple –
 
1.  Find a 16×16 pdf icon and put it in the c:\program files\common files\microsoft shared\web server extensions\12\template\images directory on the Sharepoint Server. 
 
2.  Then open the c:\program files\common files\microsoft shared\web server extensions\12\template\xml\docicon.xml file (with notepad), scroll down to the ‘By Extension’ section
 
3.  Add the following mapping key <Mapping Key=”pdf” Value=”pdficon.gif” />.  Make sure the name of the gif file is the same name as the 16X16 pdf icon name saved in the images directory.  All mappings are listed alphabetically.
 
4.  Close and save the docicon.xml file
 
5.  Start -> Run -> cmd -> iisreset /noforce
 
6.  PDF icons should now show up in document libraries.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

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: