Question

2
Replies
128
Views
Close popover
LALIT KUMAR SINGH (Lalit_Singh)
Cognizant Technology Solutions

Cognizant Technology Solutions
US
Lalit_Singh Member since 2012 41 posts
Cognizant Technology Solutions
Posted: October 3, 2019
Last activity: March 8, 2020

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

Data Integration Java and Activities