44
Views
6
Comments
Solved
xslm file not imported
Question

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!


2016-07-12 16-07-47
Jorge Almeida
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" 
2020-05-07 18-53-00
Rui Barradas
 
MVP

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

2016-07-12 16-07-47
Jorge Almeida

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


2020-05-07 18-53-00
Rui Barradas
 
MVP

Did you try any other Excel related mime types?

For example:

application/excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
2020-05-07 18-53-00
Rui Barradas
 
MVP

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

2016-07-12 16-07-47
Jorge Almeida

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. 


2016-07-12 16-07-47
Jorge Almeida
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" 
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.