Search SPC

Display PDF Icon

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, where NameofIconFile 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 the File menu, click Save, and then exit Notepad.

3. Restart Microsoft Internet Information Services (IIS). To do so:

. Click Start, and then click Run.

a. In the Open box, type cmd, 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.