Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Provide choice to user regarding format to download file



The requirement is to provide a choice to the user regarding the format (such as XLSX, XLS, or CSV) to download a file.

Error Messages

Not Applicable

Steps to Reproduce

Perform an Export to Excel.

Root Cause

When downloading as Excel, the document is downloaded automatically in the XLSX format.


Perform the following local-change:

Change the value from true to false in the out-of-the-box 'pyEnableExporttoAdvancedExcelFormat' When rule in @baseclass.

The 'Export to Excel' changes to the earlier implementation format, that is, XLS.


Published July 23, 2018 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us