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

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

  1. Create two Data Table rules which creates list views, by default, in PRPC 6.2 SP2.
  2. Create a RAP file.
  3. Import the RAP file into Pega 7.2.1
  4. Run the first list view
  5. Delete any record from the results.
  6. Run the second list view.
  7. 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

  1. Data Table and the list view rules are deprecated since Pega 7.2.
  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

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.

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