IBM Support

XLSX file saved as DOCX file

Technical Blog Post


Abstract

XLSX file saved as DOCX file

Body

When a user tries to open an xlsx attachment, the attachment does not automatically open up, and instead prompts to save the record as an docx file.

 

To resolve this, you will have to update the mime.types file.

 

1. Add the following line to the mime.types file:


application/vnd.openxmlformats-officedocument.wordprocessingml.document docx pptx xlsx

2. Restart the IBM HTTP Server.

3. Added the following lines to the httpd.conf file:

AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx

4. Restart the IBM HTTP Server.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11130073