Oct
14
Adding SharePoint Document Icons
Filed Under Administration, Development, Work
Lately I have quite a bit of small projects that I have been meaning to get around to. These items range from little things that I want to fix, research, figure out, or even just play with. Unfortunately, time usually gets the best of me and it sometimes it takes longer that I’d like to get around to certain projects.
One of the little things that has been on my list was getting icons for PDF files to display in the Sharepoint document libraries on our company SharePoint site. I had googled the answer months ago, but just never got around to doing it. With more of our employees and customers using Sharepoint now, it was definitely time to take care of this.
The process to do this is fairly simple, first I googled and found a small 16×16 PDF icon and put it in the c:\program files\common files\microsoft shared\web server extensions\<version>\template\images directory.
Next, edit the c:\program files\common files\microsoft shared\web server extensions\<version>\template\xml\docicon.xml file, scroll down to the ‘By Extension’ section and add an entry using the Mapping format that is already provided with the 100 or so provided icon types.
Run iisreset, done.
That’s it. Literally a 2 minute fix. Now, hopefully our users will not be confused by multiple files with the same name, but different extensions (PDF, DOC, etc).