Support Article
Unable to delete the records using the delete icon in DataTable
SA-42549
Summary
Unable to delete records using the Delete icon in DataTable list view (DataClassEditor list view).
Error Messages
Not Applicable
Steps to Reproduce
- Create two Data Table rules which creates list views, by default, in PRPC 6.2 SP2.
- Create a RAP file.
- Import the RAP file into Pega 7.2.1
- Run the first list view
- Delete any record from the results.
- Run the second list view.
- Delete any record from the results.
Root Cause
When a record is deleted from the list view the @baseclass.ListEditorProcess activity is called. A record, insHandle, is selected and matched with the list of results, pzInsKey. If it matches, then the selected record is deleted.
PRPC considers insHandle from the pyListviewContent page, however pzInsKeys list refers to the ListPage.
When first list view is run and the record deleted, ListPage and pyListViewContent page point to the same class (class corresponding to Data Table list view class). When the second list view is run, pyListViewContentPage is updated by referring to the second list view class; however, ListPage page still refers to the old list view class.
Resolution
- Data Table and the list view rules are deprecated since Pega 7.2.
- Follow the below steps to convert the Data Table into the new data storage format:
a. Navigate to Designer Studio > Data Model > Data Table

b. Click the Convert button to convert the Data Table into the new data storage format.

Published November 15, 2017 - 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.