Adding File Type Icons To SharePoint 2010
When uploading files to SharePoint libraries the correct icon may not be shown if it is not a common file type. For example, I have created a library to store useful PowerShell scripts but as the file type is not known to SharePoint it shows a generic icon:
To add custom file types, and show the correct icon in lists, simply locate an image file for the icon and follow these steps:
1. Save the image file for the icon to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Images on the SharePoint server
2. Edit the file docicon.xml located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\XML and add the following entry into the <ByExtension> section:
<Mapping Key=”PS1″ Value=”ps1icon.gif” />
3. Restart IIS by running IISRESET from a command prompt.
The files should now be displayed with the correct icons:
Note: If your SharePoint environment consists of multiple servers you will need to carry out these steps on each server in the farm
![[BlogBookmark]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/blogbookmark.png)
![[Blogsvine]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/blogsvine.png)
![[del.icio.us]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/facebook.png)
![[Furl]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/furl.png)
![[Google]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/google.png)
![[LinkedIn]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/linkedin.png)
![[MySpace]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/myspace.png)
![[Reddit]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/reddit.png)
![[Slashdot]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/slashdot.png)
![[StumbleUpon]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Twitter]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/twitter.png)
![[Windows Live]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/email.png)
Hi there would you mind stating whichh blog platform you’re
working with? I’m going to start my own blog soon but I’m having
a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your layout seems different thrn most blogs and I’m looking for something
completely unique. P.S Apologies for being off-topic but Ihad to ask!