Question
US
Last activity: 6 Dec 2025 2:46 EST
User Experience' and 'Constellation'
We have a UseCase to get record from external API and on the fly display data in view, not to store in DB. But in each invocation, external API can return max 20 records. So we have given one check box(More Record) and on selection of that have to refresh the UI and invoke the API to get next 20 record. But here problem is previous 20 records are getting wiped out from UI. So when debugged it then got to know that when refreshing the UI on selection of above checkbox then pega is invoking Assignment refresh API and inside that it's again trying to perform obj-open so data is in memory getting wiped out. Also all rules have been marked as final in DX API context.
So need one way to access the data that is in memory or any alternate way to append the data in and display it in UI on the fly. We can't use read only data page as we can't update the data page after each invocation.