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 http://www.adobe.com/misc/linking.html 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"/>
  5. Save DOCICON.XML
  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.

richardjgreen

Richard works as a Cloud Consultant for Fordway Solution where his primary focus is to help customers understand, adopt and develop with Microsoft Azure, Office 365 and System Center. Richard Green is an IT Pro with over 15 years' of experience in all things Microsoft including System Center and Office 365. He has previously worked as a System Center consultant and as an internal solutions architect across many verticals. Outside of work, he loves motorbikes and is part of the orange army, marshaling for NGRRC, British Superbikes and MotoGP. He is also an Assistant Cub Scout Leader.