Question

Wrong MIME type for xls file

Hi everyone,

I am trying to get the mime for xls file using pega ootb function but its returning the wrong value.

@Default.pxGetMimetypeFromFileName("Test.xls") output for function is application/vndms-excel but it should return application/vnd.ms-excel.

Tried the same code in 7.4 and 8.2.

Please advise on this.

Thanks,

Lalit

Comments

Keep up to date on this post and subscribe to comments