Richard J Green

PDF Icon in SharePoint 2010

After successfully upgrading from SharePoint 2007 to SharePoint 2010, I noticed that the icon for PDF documents was missing from my Document Libraries. As part of the installation process, SharePoint 2010 installs itself to a folder called 14 to designate its version number as SharePoint 2007 used a folder number of 12. It was apparent that nothing was migrated from the 12 folder as as a result any modifications will be lost.

  1. Download the PDF icon. Visit and download a copy of the small 17×17 PDF icon.
  2. Copy the icon to Drive:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATEIMAGES
  3. Open the DOCICON.XML file in Drive:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATEXML
  4. Add the following line to the DOCICON.XML file:
    <Mapping Key="pdf" Value="pdf16.gif"/>
  6. Open a Command Prompt and type iisreset to reset the IIS Application Pools

You will now have beautiful looking PDF icons in your document libraries in SharePoint 2010.

Exit mobile version