- Download the small icon file from adobe. http://www.adobe.com/misc/linking.html#pdficon
- Save the icon in the c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES folder.
-You can rename it to match the standard naming convention. - Open (in notepad) the DOCICON.XML file located in the c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML folder.
- In ByExtension -->section add the tag >Mapping Key="pdf" Value="icpdf.gif" OpenControl=""/>-Change the direction of the first > (just left to Mapping) to make the markup work right.
- Save.
- Reset IIS.
- You should now see all PDF documents with the correct icon.
Oct 28, 2009
Showing the PDF Icon in a SharePoint Document Library
Out of the box, you won't see the PDF icon in WSS 3.0 document libraries as you see MS Office icons next to office documents.
Subscribe to:
Post Comments (Atom)
The best, most straigtforward solution I've found. Thanks for sharing!
ReplyDelete