MSOGenerateExcelFile deprecated in Pega Infinity any example using pxGenerateExcelFile?


We had couple of activities using MSOGenerateExcelFile and we had to modify one of them after moving to 8.2

We found that MSOGenerateExcelFile is now deprecated and we are supposed to use pxGenerateExcelFile.

Since both function have almost same parameter we tried to switch to the new version but it failed with the following message.

The uploaded file template could not be recognized. Please upload a valid file. Refer to template for details.

Same activity work perfectly with MSOGenerateExcelFile.

I'm unable to find any activity using pxGenerateExcelFile to see how it work and in the other end I find a lot still using MSOGenerateExcelFile (In agile studio 8.2 for example it's still widely used)

Is there any working example we can see on how it should be used?

Thank you


Keep up to date on this post and subscribe to comments

September 17, 2019 - 1:09pm


Please refer the below link which has an example showing the use of pxGenerateExcelFile.

Kindly verify the steps with the your implementation and check if you have done something different.

If you still face the issue create a new template file and use it and then try the use case.




September 25, 2019 - 3:19am
Response to Vikash Karn

Hello Vikash,

The post you linked seems good but important information are missing since images are not displayed.