Posted: 15 Aug 2018 15:12 EDT Last activity: 26 Nov 2018 1:46 EST
Pega Automatically created properties inside Page property
I have created properties called first name, last name, birthdate inside BCBS-Data-Customer. Now I created page property called Request. Now If I see in app explorer under data model>Property>Request then I saw all properties which I created inside BCBS-Data-Customer, all properties copied inside page properties. So what to do if I don't want to see any duplication property inside page property. Can anyone help me?
Issue is with your Class Reference in the created Page property(Request), You have referred the same class reference where the Page property is created. When you want to access the properties in other class and use those properties in current class then you need to create Page property in current class by referencing Other class as source to this page.
Example: Your properties(FirstName, LastName, Age) are in NCS-DevApp-Data-PersonalData
If you want to use those in other class like NCS-DevApp-Work-Request, then you need to create "Page" property(PersonalInfo) in this "Work-Request" class and then refer "NCS-DevApp-Data-PersonalData" as page definition class.
Now your structure in Work-Request class will be the following:
Like wise you can use or refer properties in one class to other using SinglePage or PageList Property.