Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Data Types

Data Type is Just like a Table which will have Data Storage.

Data Types were called as Data Tables in Pega 6 and before.

Data Tables Storage Capacity is 10 KB.

Data Types is more than that.

To Create a Data Type we need to use below navigation.

Go to Data Explorer and Choose Add Data Type.

Make sure that Your Data Types create under Data Classes.

Data Types Must be derived from OOTB class “Data-“.

When We create a Data Type PRPC automatically Creates Below Components and Rules.

1. It is going to create a Concrete Class Under Data Class.


2. Properties (Which are like columns of table)
3. Physical (Dedicated) table gets created in Rule Base.
4. Data base Table mapping rules gets created.
5. Data Pages (List Type Pages, Page Type and Savable)
6. Report Definition

To know the name of physical table create, open Class rule Form  Click on test connection.
Done.

Data Type classes are Concrete Classes,which “Does Not belong to class group”.
Does Not belong to class group:- This means the classes will not fall under inheritance path of Class
Group. This are Global to multiple different class groups.

Class Key :- For Every table we can define one or more keys those values are unique.

Class Key(s) we can see in the class Rule form.

If we want to access the content of Data Storage, we can use below OOTB Methods.

 Obj-Save :- It perform Insert or Update


 Obj-Browse :- It fetches multiple instances.
 Obj-Open :- It fetches one single instance based on Class Key.
 Obj-Open-By-Handle :- It fetches one single instance based on Primary Key.
 Obj-Delete :- Deletes instances
 Obj-Delete-By-Handle :- Delete an instance by Primary Key.

You might also like