For those of you working with office 2007 and still working on Windows SharePoint Services Version 2 or SharePoint Portal Server 2003 document libraries here is a review of how to add icons to your server and editing the DOCICON.XML file.
Office 2007 introduces new file extensions like docx, dotx, pptx, xslx, etc. When added to a document library the generic icon is displayed and the associated menu does not include the familiar “Edit in...” menu item. The process of adding recognized file extensions is as follows:
- Obtain the appropriate image files, I got mine from the images directory on my new MOSS server. (icdocx.gif, icpptx.gif, icdotx.gif, icxslx.gif,...)
- Copy the images to the images folder in the 60 hive. Usually: c:\program files\common files\microsoft shared\web server extensions\60\template\images
- Edit the DOCICON.XML file, adding a mapping for each new image type. Copy the predecessor and edit to work for the new file type:
Copy:
And edit to look like this:
Repeat this procedure for each file type. Save and close the file when you are done editing.
- Restart IIS by running IISRESET from the command line.
- Browse to the document library containing the Office 2007 documents and you should see the correct images displayed.