How to change the DocIcons in SharePoint 2010 Sites?

In this post, we will discuss how to change DocIcons in SharePoint 2010 sites.

Also, you can check:

Programmatically Check appSettings tag inside a web.config file in SharePoint 2010

Content management improvements in SharePoint 2013

Hide attach a file from SharePoint custom list form

Follow below steps to change the DocIcons:

Step-1:
Save your DocIcon image (.gif image) in the below location C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\IMAGES.

Step-2:
Then Open DOCICON.xml file from the below location:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\XML

This is the file where all the DocIcons has been registered for SharePoint sites.

Then add this “<Mapping Key=”pdf” Value=”pdf.gif”/>” and the save the file.

Remember: Changes to DOCICON.XML should be made with extreme caution because they are global to a Windows SharePoint Services deployment and affect all site definitions on the front-end Web server. And also Changes that you make to this file may be overwritten when you install updates or service packs for Windows SharePoint Services, or when you upgrade an installation to the next product version.

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

>