Change PDF Icon in SharePoint
By default, SharePoint does not include PDF document file type icon. So we need to do the below changes to display the PDF icon for PDF files in our SharePoint environment. Here is how we can add PDF icon in SharePoint 2010:
Once done, you will get the PDF icon in SharePoint library as in below screen: SharePoint 2010 displays PDF icon.
- Download an appropriate icon for pdf document type. you can download pdf icon for SharePoint from http://www.adobe.com/misc/linking.html
- Copy the downloaded PDF icon to "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\template\images" (Dont forget to set the read, Read & Execute permissions to "Domain users" to that PDF icon file!)
- Open the docicon.xml from C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\template\xml\docicon.xml
- Add an entry under <ByExtension> node:
Once done, you will get the PDF icon in SharePoint library as in below screen: SharePoint 2010 displays PDF icon.
- Codeplex feature based solution to change pdf icon for SharePoint 2010: http://sharepointpdficon.codeplex.com/
- Microsoft KB article: http://support.microsoft.com/kb/837849
Same method applies, If you want to provide support for custom file type icons. Refer: How to Add Custom File Type Icons in SharePoint
No comments:
Please Login and comment to get your questions answered!