Microsoft KB Archive/837849

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

Article ID: 837849

Article Last Modified on 11/30/2007

-

APPLIES TO


 * Microsoft Windows SharePoint Services 3.0
 * Microsoft Windows SharePoint Services 2.0

-



INTRODUCTION
This article describes how to specify the icon that Microsoft Windows SharePoint Services uses to represent Adobe Portable Document Format (PDF) documents that are stored in document libraries. To specify an icon for PDF documents, you have to add the .pdf file name extension and the name of the .gif file that you want to use for the icon to Windows SharePoint Services. After you do so, the icon is displayed next to all PDF documents that are stored in document libraries on your Windows SharePoint Services Web site.



MORE INFORMATION
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:  Copy the .gif file that you want to use for the icon to the following folder on the server:



 Edit the Docicon.xml file to include the .pdf file name extension. To do so:  Start Notepad, and then open the Docicon.xml file. The Docicon.xml file is located in one of the following folders on the server:





 In the  section of the Docicon.xml file, add an entry for the .pdf file name extension. To do so, add the following line, where  is the name of the .gif file:



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



 On the File menu, click Save, and then exit Notepad.</ol> </li> Restart Microsoft Internet Information Services (IIS). To do so: <ol style="list-style-type: lower-alpha;"> Click Start, and then click Run.</li> In the Open box, type cmd, and then click OK.</li> At the command prompt, type the following line, and then press ENTER:

iisreset

</li> Type exit, and then press ENTER to exit Command Prompt.</li></ol> </li></ol>

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.

<div class="references_section">