Support Article
Property-Ref does not work for page when classes mismatched
SA-27877
Summary
If two pages have different classes and different inheritance structure, the Property-Ref method will not reference between the two pages.
Data Page: D_TestPage
class : Application-FW-ImpLayer-Work-WorkType
Property: PropTestPage1 (Page, Class: Application-FW-ImpLayer-Work-WorkType)
Data Page: D_TestPage3
Class: NewTest (extending from @baseclass)
Property: TryPage1 (Page, Class: NewTest-Test1) (Allow use as reference property in activities checked)
Error Messages
Property-Ref from D_TestPage3.TryPage1 = D_TestPage.PropTestPage1 does not work because of conflict of class.
Hence pages with different class cannot be Ref.
Steps to Reproduce
- Create an activity.
- Specify a step to perform a Property-Ref method between a property of a class type A and a source property of class type B (Class type A has a completely separate inheritance stucture as compared to Class type B).
- Attempt to save the activity and observe the error displayed at the top of the activity.
Root Cause
This issue was determined to be a product enhancement request.
The current behavior is expected and is documented on the help at the following URL:
https://pdn.pega.com/sites/default/files/help_v721/procomhelpmain.htm#methods/property-ref/property-ref.htm?Highlight=ref-property
Resolution
An enhancement request, FDBK-16628, has been created for consideration by Pega Product Management.
Published September 23, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.