Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Datapage not loading on property reference

SA-41381

Summary



When user tried to refer the ‘.customproperty’ looping through ‘.Page1.Pagelist.XX.pxResults' , the DataPage that is refered on .customproperty is not triggered although the Keys required for the datapage to run are set on ‘.Page1.Pagelist.XX ‘ page.

Error Messages



Not Applicable

Steps to Reproduce

  1. Create a Datapage 'DemoDataPage' of Definition class say 'A-B-C' with one parameter 'anotherKey' and Keyed access wtih 'pzInsKey'.
  2. Create a PageList property 'DemoPageList' of Definition class 'A-B-C' (Same definition class as the Datapage has) and it should pre-populated.
  3. Create a Page property 'DemoPage' of Definition class 'A-B-C' (Same definition class as the Datapage and Pagelist have) and set the Data Access 'Refer to Datapage' and pass 'anotherKey' and 'pzInsKey'.
  4. Create an activity and loop through the PageList property and set some of the local variables with the properties of each page using Property-Set along with 'pzInsKey' and 'anotherKey'.
  5. Try to access any of the property of the DemoPage and the property will be null / blank.


Root Cause



Expected Behavior, but a custom design fault.

Resolution



In order to populate the page property 'DemoPage' one must create a new page in the activity and pass the key(s) in the page, that is to Property-Set, so that the keys can be propagated to the DataPage 'DemoDataPage' (pass keys 'anotherKey' and 'pzInsKey' as parameters) and the property can be populated.

Published December 15, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us