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

List view "DataTableClassEditor" not working as expected

SA-24938

Summary



User opens listview from designer studio and runs it. The issue is if they edit and save any record and when they try to get back to the list of records screen by clicking on 'Back' button then an error "Request Failed. Please Re-Submit! " is displayed on the screen.

User gets this issue only when check box "Embedded?" is checked in the listview rule, if user unchecks this then there is no issue. But here they are including it as section in application, so this check box should be checked.

Error Messages



Request Failed. Please Re-Submit!
 

Steps to Reproduce


 
1. Open DataTableClassEditor listview created along with the Data table.
2. Enable the Embedded check box.
3. Run the ListView and edit any record from the results.
4. Save the record and click the back button for list of records.
 

Root Cause



A defect in Pegasystems’ code or rules.  The "<< Back" button's redirect URL is incomplete. It should set the OutputlvStream parameter to true, so that the List View re-renders and streams to the client after the button is clicked.

Resolution



To resolve the Back button issue, apply HFix-28066.
But after installing the HFix-28066, developer reported the below queries:

1) Issue is fixed for the Back button.
2) Issue is still occurring for Cancel button.
3) After installing hot fix, Back button issue is fixed but UI is changed and it is different from previous screen.

To resolve the reported issues, provided a Local change which uses a grid and a report definition. This solution is more reusable because it uses newer auto-generated layouts and controls.

This solution allows the data to be edited inline instead of navigating to a whole new harness like the List View editor. It is the same solution used by the Data Type rule form under the Records tab.

Below is the proposed local-change: 

1. Create a Report Definition to mimic the List View .
2. Create a section which applies to Data- .
3. Open the OOTB section DataTableRecordEditor which applies to Data- .
4. Copy the Grid Repeat Layout and paste it into the section from Step 2. 
5. Open the property panel for this new Grid Repeat Layout. 
6. Source the grid from the new Report Definition from Step 1.
7. Uncheck "Specify virtual report definition".
8. Submit the Grid Repeat Layout property panel and save the section.
9. Include the section from Step 2 in the portal in place of the embedded List View.
Suggest Edit

Published July 2, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

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
Contact us