To get the document library show PDF or any other icons, follow these steps
- Open folder [drive]\Program Files\Common Files\Microsoft Shared\Web server extensions\14\Template\Images.
- Copy PDF icon in this folder. (You can get PDF icon from http://www.adobe.com/misc/linking.html. It is recommended to download 17 x 17' )
- Stop IIS by running iisreset/stop on command prompt.
- Open folder [drive]\Program Files\Common Files\Microsoft Shared\Web server extensions\14\Template\Xml
- Make a copy of DocIcon.xml file.
- Open DocIcon.xml and add < Mapping Key="pdf" Value="[Name-Of-Icon-File.gif]" />
- Save and close DocIcon.xml file.
- Start IIS again by running iisreset/start on command prompt.
Now go to your document library where you uploaded PDF file and verify the icon.
Note:
For SharePoint Portal Server 2003: Use 60 in place of 14
For SharePoint Portal Server 2007: Use 12 in place of 14
No comments:
Post a Comment