To Populate Data into Page/PageList, PRPC provides 2 Options
- “Refer to a Data Page”
- “Copy data from a Data Page”
When to use What?, Explain with scenario
To Populate Data into Page/PageList, PRPC provides 2 Options
When to use What?, Explain with scenario
@NagarjunaS16644648 You can check below URLs for explanations with real time examples with clipboard structure.
https://ask.onestoppega.com/d/34-refer-vs-copy-data-page
Above one is discussion forum. Within that you will find article which has the explanations with real time examples with clipboard structure.
https://onestoppega.com/data-modeling/system-of-record-snapshot-pattern-in-pega/
SOR pattern- Refer to a data page
Snaptshot pattern- copy from a data page
Hi @NagarjunaS16644648: This depends on the data access pattern. Please see details here.
If you need the snapshot of data (at that point of time) you will use copy from. When you need real time data always, you need to use Refer to data page.
Thanks.
@NagarjunaS16644648
Refer to Data Page - when we want the property to refer the data page every time it is getting used. Property will always have latest/sync data as Data Page.
This option ensures the data to be latest and sync with the DP. Data and loading of DataPage depends on the load management used.
Copy data from a Data Page : This will copy the data of the data page when it is referenced first time and will have the stale data until be clear the property explicitly.
This option only make DataPage to load once, and create a copy of it. Next time when property is referenced, it refer the copied data and do not hit DP again.