MOSS doesn’t install an icon for PDF files by default. It simply shows a generic white paper icon.
This is my procedure for fixing this issue:
- Download an appropriate icon for pdf document types.
- This is the icon from Adobe.
- Save to TEMPLATE\IMAGES directory. (DEFAULT: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\template\images)
- Open the file docicon.xml. (DEFAULT: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\template\xml\docicon.xml)
- Add a new Mapping element to the ByExtension element.
<Mapping Key=”pdf” Value=”pdficon_small.gif” />
NOTE: Be sure to change pdficon_small.gif to whatever image you downloaded to represent pdf documents. - Save the edited docicon.xml file.
- Restart IIS (iisreset /noforce).
You should now see the PDF icons for all PDF documents in the portal, including search results.
Leave a comment