Skip to content

Add Office 2007 icons to SharePoint 2003

A neat little hack to add the Word 2007 and Excel 2007 icons to Sharepoint 2003.

Wictor Wilén has a neat little trick to add the Word 2007 and Excel 2007 icons to Sharepoint 2003 when you upload .docx and .xlsx documents.

He provides the two small GIF icons plus the lines to add to the Sharepoint configuration file.

We can only add that you might want to expand the lines in docicon.xml with additional Mapping extensions for other Office 2007 document  formats like docm and xlsm (Word and Excel documents with macros) or even the many other new extensions used in Office 2007.


Then open the file C:Program FilesCommon FilesMicrosoft Sharedweb server extensions60TEMPLATEXMLdocicon.xml with your favorite XML editor and add these two lines under the ByExtension element:

Save the file and reset the IIS and you’re done.

About this author