How to fix Office 2007 attachments downloaded as zip files

Few times I have found a small but annoying issue on Maximo when attaching Office 2007 files. Do you know those Excel, Word, PowerPoint files with xlsx, docx, pptx extensions? Yes, those!

If you are using Microsoft Internet Explorer it may happen that these files can be uploaded successfully into your DOCLINKS folder but when you try to retrieve them they are downloaded as zip files.
If you have this problem here is the solution for you.

Edit httpd.conf file of your IBM HTTP Server (look in the conf subdirectory) and add the following section at the end of it.

AddType application/ .docm
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
AddType application/ potm
AddType application/vnd.openxmlformats-officedocument.presentationml.template potx
AddType application/ ppam
AddType application/ ppsm
AddType application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
AddType application/ pptm
AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
AddType application/ xlam
AddType application/ xlsb
AddType application/ xlsm
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
AddType application/ xltm
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx

Save the httpd.conf file and restart the HTTP Server.
Now you should be able to download those files without any problem.

Here is the original article where I have found the solution.

UPDATE! John spotted an IBM TechNote describing the official solution.

How to fix Office 2007 attachments downloaded as zip files

One thought on “How to fix Office 2007 attachments downloaded as zip files

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top