Skip to Content
0

Fileuploader File types shown as empty for “.msg” files

Jun 19, 2017 at 02:22 PM

25

avatar image

Hi,

We are doing Custom SAPUI5 application, we have an attachment upload scenario in which we used File uploader UI5 control, Fileuploader File types shown as empty for “.msg” files

We have used below code to get File name and File type

var file = jQuery.sap.domById(oFileUploader.getId() + "-fu").files[0];

var filename = file.name;

var fileType = file.type;

for ms word file we get file type :"application/msword"

for .msg file we get file type empty

Kindly help us to solve the issue.

Thanks.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers