How to add an icon to Windows SharePoint Services to represent Adobe PDF documents that are stored in document libraries

To specify the .gif file that you want to use for the icon that represents Adobe PDF documents that are stored in Windows SharePoint Services document libraries, follow these steps:
1.    Copy the .gif file that you want to use for the icon to the following folder on the server:
Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Template\Images
2.    Edit the Docicon.xml file to include the .pdf file name extension. To do so:
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:
Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\60\Template\Xml
Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml
b.    In the section of the Docicon.xml file, add an entry for the .pdf file name extension. To do so, add the following line, whereNameofIconFile is the name of the .gif file:

For example, if the name of the .gif file is MyPicture.gif, add the following line:

c.    On theFile menu, clickSave, and then exit Notepad.
3.    Restart Microsoft Internet Information Services (IIS). To do so:
 .     ClickStart, and then clickRun.
a.    In theOpen box, typecmd, and then click OK.
b.    At the command prompt, type the following line, and then press ENTER:
iisreset
c.     Type exit, and then press ENTER to exit Command Prompt.
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Advertisements

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