18
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!


Rank: #439
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" 
Rank: #143

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

Rank: #439

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


Rank: #143

Did you try any other Excel related mime types?

For example:

application/excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Rank: #143

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

Rank: #439

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. 


Rank: #439
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"