Skip to Content
author's profile photo Former Member
Former Member

xlsm extension problem

Hi,

files having .xlsm extansion cant be opened through portal km. When it's clicked to open, dialog window shows the file as xlsx although it's xlsm (macro enabled Excel file). Any idea?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 19, 2011 at 12:42 PM

    Hello Ilker,

    You first need to make sure you have the appropriate MIME type defined for xlsm files under System Administration -> System Configuration -> Knnowladge Management -> Content Management -> Utilities -> MIME Types. It should be application/vnd.ms-excel.sheet.macroenabled.12

    Afterwards go to System Administration -> System Configuration -> Knowladge Management -> Content Management -> Utilities -> Icons and create a new configuration for the types "xlsm", the icon should be the same as standard "xls" files:

    Name: application_vnd.ms-excel.sheet.macroEnabled.12

    Image: spreadsheet.gif

    Mime type: application/vnd.ms-excel.sheet.macroenabled.12

    Then go to: Visual Administrator -> Global Configuration -> Server -> HTTP provider -> Never Compressed and add ",*.xlsm

    ,application/vnd.ms-excel.sheet.macroenabled.12" to the end of the line.

    Afterwards press "Update" button and "Save Properties" button, engine restart is required.

    You will then need to upload the xlsm file to the portal again so that it gets the correct MIME type, you can view this in the details -> settings -> properties screen of the document, any file that has the MIME type "application/octet-stream" is incorrect and will need to be uploaded again.

    Regards,

    Lorcan.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.