Question


Bits in Glass
GB
Last activity: 12 Feb 2025 18:01 EST
Unable to edit the record from the table in pega constellation
I have list type data page and when I'm trying to update the record, record is getting deleted from the table instead of updating the record
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Ordina
NL
@TwinkleChawla Do you mean that the record is overwritten by the new update, or do you end up with less rows than before the update? Would need to know some more about where (from the UI in a case, from the data designer in App or Dev Studio) and what it is that's happening


Bits in Glass
GB
@BasRulesMatter! the issue is coming in the landing page and rows are becoming less before getting update


Ordina
NL
@TwinkleChawla Okay, will try to see if I can replay it on a local environment!


Pegasystems Inc.
GB
It sounds like the saveable data page for your data object may not be configured.
A couple of things you can check:
- Does the data type have default data sources setup to assign data pages for record lookup, list, and save? You can check this in the Settings / Default data sources tab of the data type in App Studio.
- Is the Savable data page configured with appropriate Data save options? For a Pega Data type you should have a Database Save and Database Delete.
The Journey: Configuring CRUD is available on the Pega documentation site that goes through configuring this functionality.
You can also review the following previous discussions that should be helpful.
https://support.pega.com/question/constellation-ui-data-update-issue https://support.pega.com/question/constellation-crud-actions


EvonSys
IN
It sounds like there might be an issue with how the update operation is being handled in your Constellation view. Here are a few steps you can take to troubleshoot and resolve this issue:
-
Check the Data Transform or Activity: Ensure that the data transform or activity responsible for updating the record is correctly configured. It should update the specific record in the list rather than removing it.
-
Verify the Update Logic:
- Make sure that the logic used to identify the record to be updated is correct.
- Ensure that the update operation is not inadvertently triggering a delete operation.
-
Review the Section Configuration:
- Check the section or grid layout configuration to ensure that the update action is correctly mapped to the update logic.
- Verify that the correct data page and properties are being referenced.
-
Debugging:
- Use the Tracer tool to trace the steps taken during the update operation. This can help identify where the record is being deleted instead of updated.
- Look for any conditions or steps that might be causing the deletion.
-
Test with a Simple Scenario:
It sounds like there might be an issue with how the update operation is being handled in your Constellation view. Here are a few steps you can take to troubleshoot and resolve this issue:
-
Check the Data Transform or Activity: Ensure that the data transform or activity responsible for updating the record is correctly configured. It should update the specific record in the list rather than removing it.
-
Verify the Update Logic:
- Make sure that the logic used to identify the record to be updated is correct.
- Ensure that the update operation is not inadvertently triggering a delete operation.
-
Review the Section Configuration:
- Check the section or grid layout configuration to ensure that the update action is correctly mapped to the update logic.
- Verify that the correct data page and properties are being referenced.
-
Debugging:
- Use the Tracer tool to trace the steps taken during the update operation. This can help identify where the record is being deleted instead of updated.
- Look for any conditions or steps that might be causing the deletion.
-
Test with a Simple Scenario:
- Create a simple test case with a minimal setup to isolate the issue. This can help determine if the problem is with the specific configuration or a broader issue.
Here's a basic example of how the update logic might look in a data transform:
Data Transform: UpdateRecord
- For each item in .DataPageList
- When .RecordID == Param.RecordID
- Set .PropertyToUpdate = Param.NewValue
In your Constellation view, ensure that the update action is correctly triggering this data transform or activity.


Pegasystems Inc.
IN
1. Make sure that the "Is this page used for alternate key storage?" checkbox is checked on your savable data page's Parameters tab. Additionally, you have to give the Linked field values for atleast one of the parameters.
2. Also, update the Load Management mechanism of the corresponding lookup data page to "Reload once per interaction" to ensure fresh data is fetched inside the 'Edit' view.