What is Clipboard-DataClasses in PEGA?
- January 25, 2021
- Posted by: AtoZ Trainings
- Category: PEGA Technology

This is one of the main debugging tools which stores WO data and other Information Temporarily.
In other Words
Clipboard an interface between PRPC and it’s rule base, which is going to temporarily, store Data.

Once we submit, this data gets stored into rule base Work Table.
Before it goes to work table, this data gets posted to temporary storage location called “Clipboard’.
In the designer studio, bottom we can see clipboard link

Click on link

Close this.
Submit the customer FORM.

Now, go to clipboard again

Now data is available on clipboard.
When we submit UI, Data will get posted to clipboard à From clipboard it will taken to Rule base table.


DONE.
The WO data , that is posted on to clip board is posted to , system created Page “pyWorkPage”.
To find WO data on clipboard, we have to access pyWorkPage.
Page : Page holds Properties and values.
When we look at clipboard, each page on clipboard is referring to a class.
pyWorkPage is referring to class “PRIM-VehicleI-Work”.
Page is going to act as a reference to class.
Page holds the properties of it’s reference class as well as it’s parent classes.
Example :
A-B-C
FirstName
LastName
X-Y-Z
VIN
Company
Page1 (X-Y-Z )
VIN
Company
Page2 (A-B-C)
FirstName
LastName
What is the advantage of Pages?
Using Pages, we can reuse properties (rules) for different purposes.
Suppose we have one set of common properties, we can re use these properties for different purposes by creating multiple Pages, referring the same class where these properties are available.
A-B-Person
FirstName
LastName
Age
Customer(A-B-Person)
FirstName
LastName
Age
Employee (A-B-Person)
FirstName
LastName
Age
Director (A-B-Person)
FirstName
LastName
Age
Generally pages to access the properties of NON inherited classes.
Example :
A-B-C
FirstName
LastName
X-Y-Z
Age
Gener
Between A-B-C and X-Y-Z, we don’t have any inheritance relation.
In order to access the properties of A-B-C class into X-Y-Z, we need to create a page.
X-Y-Z
Age
Gener
Page1 (A-B-C)
FirstName
LastName
Now, we can access firstname and lastname from X-Y-Z class like
Page1.FirstName
Page1.LastName.
How to Create a Page
Creating a page in PRIM-VehicleI class, which refers to FW work Class.



Click on the link change

Select

Select a class under page definition


Save.
Refresh left tree

What is a Page?
Page is an aggregate or embedded property which refers to a class and holds the properties of it’s referenced class.
Data Classes
When we create new application, PRPC has created Org, Impl Work, FW Work classes.
Apart from these classes PRPC also created, Data, Int etc..
The other classes Data and Int are non-inherited classes w.r.to Work Classes.
If we create any rules, in Data or Int classes, we can access them into work classes by using Pages.
So, anything created in Data classes can be re used for multipurpose into work classes by create multiple pages in work Class.


Data Classes inherits from OOTB class , Data-.
Data classes are non-inherited classes w.r.to work class.

Data Classes create are
PRIM-Data (Org Data Class)
PRIM-VehicleI-Data (Implementation Data Class)
PRIM-FW-Promerica-Data (FW Data Class)
Understanding Data Classes conti…

Data Classes are Non-Inherited classes for Work Classes.
When we want to create properties, those should be created under “Data Classes”. Have to access into work class using Pages.
Again, we create more child classes for the above data classes, create properties in the child classes of data classes and access them into work class using pages.
We have to segregate properties by their usage and accordingly place then into respective data classes.
Child Classes of Data Class are “Concrete Classes”.
Data Classes are “Does not belong to class group”, that means it can be accessed by any class group by using pages.
DONE.
Author:Yoktha
Leave a Reply Cancel reply
You must be logged in to post a comment.