we need to import the xslm file type. Which is the correct mime type to import correctly xslm mime type? 


application/vnd.ms-excel.sheet.macroEnabled.12

is not working.


By the way which is the mime type to import ANY type of excel/word files? Thanks!


Hi Jorge,

Did you try "application/octet-stream" mime type?

I always use it for words and docs in general. As far as I know, it will also work with Excel files.


Kind regards,

Rui Barradas

of course. it does not work with xslm file and I really need to put it working. 


Did you try any other Excel related mime types?

For example:

application/excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Is there any error associated? What's the behavior when you try to import?

It cannot be any other file type besides excel or word:

with

application/octet-stream

this is impossible, it will be able to import other file types. 


we managed to enable almost all excel files except for the xlsm file. 


Solution

well it is working

SyntaxEditor Code Snippet

UploadFileWidget.Type="application/vnd.ms-excel.sheet.macroEnabled.12" or UploadFileWidget.Type="application/vnd.ms-excel.template.macroEnabled.12" 
Solution