Sunday, February 17, 2013

Display PDF Icon in SharePoint



By default, SharePoint does not include a PDF icon. So we need to do the below changes to display the PDF icon for PDF files in our SharePoint environment. Here is how:

1. Download an appropriate icon for pdf document types. you can get it from
http://www.adobe.com/misc/linking.html
2. copy the downloaded PDF icon to "C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\template\images" (Dont forget to set the read, Read & Execute permissions to "Domain users" to that PDF icon file!)
3. Open the docicon.xml from C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\template\xml\docicon.xml
4. Add an entry under     <ByExtension> node:
  
<Mapping Key="pdf" Value="pdficon_small.png"/>

Once done, you will get the PDF icon as per below screen

No comments:

Post a Comment