You are here: Home » PDF Document Type Icon in MOSS

PDF Document Type Icon in MOSS

Posted by wpowell
No Comments »

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:

  1. Download an appropriate icon for pdf document types.
    1. This is the icon from Adobe.
    2. Save to TEMPLATEIMAGES directory. (DEFAULT: C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12 emplateimages)
  2. Open the file docicon.xml. (DEFAULT: C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12 emplatexmldocicon.xml)
  3. 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.
  4. Save the edited docicon.xml file.
  5. Restart IIS (iisreset /noforce).

You should now see the PDF icons for all PDF documents in the portal, including search results. 

Your email is never shared.
Required fields are marked *




Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>