Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
22 views7 pages

Data Page

The document discusses the importance of local data storage in Pega applications to enhance performance by reducing database interactions when retrieving frequently used reference data. It explains the concept of data pages, which serve as an interface between the application and various data sources, detailing their structure, modes, and scopes. Additionally, it outlines how data pages are automatically created when establishing local data sources and provides examples of data retrieval methods based on different scenarios.

Uploaded by

Kajal Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views7 pages

Data Page

The document discusses the importance of local data storage in Pega applications to enhance performance by reducing database interactions when retrieving frequently used reference data. It explains the concept of data pages, which serve as an interface between the application and various data sources, detailing their structure, modes, and scopes. Additionally, it outlines how data pages are automatically created when establishing local data sources and provides examples of data retrieval methods based on different scenarios.

Uploaded by

Kajal Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Yesterday we have discussed local data source/storage

Let us assume, we have 5 loan plans present in database and an


application want to use. If application want to retrieve 1 record then it
has to interact with database to get the data. Again, if application want
to retrieve 10 records then again it has to interact with database to get
the data. Likewise, same on to retrieve 2000 records from the database
At some point of time, it may be possibility that connection will be busy
and retrieve of data become late, in this case, application performance
will be down.
To improve application performance in pega, they have introduced the
concept of Local Data storage to store reference data.
In Local data storage or Pega System of record, we will store reference
data that frequently used in the application and non- important data.
In external System of record, we will store very important data for the
organization and we can retrieve from it.
Like Customer data, list of products purchased by customers.
Local Data Storage:
Loan Type Description Amount Loan Plan
Home Home loan 2000000 Home Plan
purchase
Education Education Loan 1500000 Education Plan
request
Home Home Loan 3000000 Home Plan
purchase
Car Car purchase 1000000 Car Plan
Car Car Purchase 700000 Car Plan
Personal Personal 500000 Personal Plan
request
Gold Loan Gold purchase 400000 Gold Plan

Delivery Option Price of delivery option Days


Normal Delivery 0 3
Standard Delivery 25 1
Express Delivery 100 8 hrs

External data storage:


Cas FirstNam LastNam PhonNo EmailID OrderI Amoun
e ID e e D t
C- Rohit Mittal 999213123 [email protected] o-23 2000
23 1
C- John Peter 899992121 [email protected] o-34 4000
26 1
C- RK V 882328232 [email protected] o-45 5000
12 3
C- Pavan A 676765457 [email protected] o-56 7000
67 5
C- Pankaj Sharma 897878907 [email protected] o-67 1000
90 7 m
C- Annie Jackson 676787899 [email protected] o-78 500
34 0 m
C- Anthony T 890987654 [email protected] o-89 8000
89 3 m

When we need to retrieve data regardless of any source (does not


matter that data is stored in local data storage, pega database, external
data) in pega application then we will use data page.
Data Page provide an abstraction/Interface between application and
database.
Note: Data Page is a rule, notify with “D_” and it is available in Data
Model category.
Whenever we are creating local data source for Data type then it will
automatically create 3 data pages.
Assume there is a data type “StateList”, in that 2 properties are
available a) State b) StateID
We have created a local data source from dev studio by going to Data
explorerclick on data type recordsclick on configure source.
In this way we can create local data source of a data type.
When we create local data source of a data type then pega will
automatically create 3 data pages to retrieve or store data.
a) D_StateList: it is used to retrieve single instance of data.
b) D_StateList List: it is used to retrieve multiple instance of data.
c) D_StateListSavable: it is used to store data.
We can create our own data page in pega.
Note: whenever we are creating data page in data type then the class
must be data class.
Data Page contain:
a) Data Page Structure
a. Page: retrieve single instance of data
b. List: retrieve multiple instance of data
b) Date Page Object type: it contains class of data page that means
in which class, we are creating a data, the same class mentioned
in Object Type.

c) Mode:
a. ReadOnly: It retrieve data in ReadOnly format.
b. Editable: It retrieve data that can be editable.
c. Savable: It is used to store or update data regardless of
source.

d) Scope: Scope in data page is used to check how widely we can


access data in the application.
a. Thread: data page will retrieve data for a particular case.
Example: to check currency exchange rates to a particular
case. It means if multiple users are checking different
currency exchange rate then it will create different data
page

b. Requestor: data page will retrieve data based on logged-in


operator.
Example: bank customer will check bank account balance.
Customer has to log in first in the application and then
customer will click on check account balance button data will
retrieve from data base by using data page.
c. Node: retrieve data by using data page that is accessible by
all users of the application
For example: CricBuzz application to check updated score of
the match. So only one data page is required to fetch data.
e) Source: Based on structure of data page, source varies.
a. Page Structure
i. Connector: it is used to retrieve data from external
database.
ii. Look up: it is used to fetch single instance of data
iii. Data Transform: it is used to copy data from one page
to another.
iv. Load Activity: it is used when none of the above is
satisfied.
v. Robotic automation: retrieve data when an application
run on desktop
vi. Robotic process automation: retrieve data from an
automated back-end process.

b. For List Structure


In place of Lookup, report definition will be added.
Report Definition: It is used to fetch multiple instance of data.
Note:
 If we are fetching single instance of data from local data
storage or pega data then structure will be Page and source
is Lookup
 If we are fetching single instance of data from external data
base then structure will be Page while source is Connector.
 If we are fetching multiple instance of data from local data
storage or pega data then structure will be List and source is
Report Definition
 If we are fetching Multiple instance of data from external
data base then structure will be List while source is
Connector.
 If we are storing data in local data storage, pega data,
external database then Mode is Savable and source is data
transform

Q) you have a created a data page and configure reload if older than set
to 10 minutes. The data page is created at 9:00 AM.
 User refreshed the data page at 9:05 AM
 User refreshed the data Page at 9:10 AM
 User refreshed the data page at 9:20 AM
At what time data page is reloaded?
a) 9:05 AM
b) 09:11 AM
c) 09:20 AM
d) 9:00 AM
Ans b
9:00 AM and 10 minutes
9:10 AM
9:20 AM
9:30 AM

You might also like