Support Article
Exporting ListView to Excel with Pagination
SA-4313
Summary
Exporting all rows in ListView with pagination too excel is not working.
Error Messages
All the rows are not exported.
Steps to Reproduce
Call list view from summary view and the called list view should have pagination and all the results should be exported to excel rather than the current Page
Root Cause
The root cause of this problem is a defect in customer application code/rules.
ListView has the limitation of exporting only current page when pagination is enabled.
Refer to below PDN link and search Export to Excel.
https://pdn.pega.com/reporting/comparing-report-definition-list-view-and-summary-view-reports
Resolution
The explanation for this behavior is as follows:
If you want all the rows of the listview to be exported to excel, you can implement the logic of export to excel functionality of report definition by creating a custom button in ListView.
There are few activities and SQL queries which run at the backend of report definition when you try to export to excel.
Some of them are pzViewExportToExcel, pzCreateExportData,pzViewExcelData.
Please try to implement the same logic in listview.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.