Tuesday, 30 July 2013

Usage of Linked Properties in PRPC

Linked property is a special kind of property.

This property holds the value of a key to another data object (Say Data-Admin-Operator-ID). This property is used to display the properties of the Data-Admin-Operator-ID based on the key value passed.

How to create a linked property.

1. Create a new property say linkProp with single mode property.
2. On behaviour tab, select Automatic reference to class instance (linked).
3. Select the linked class from dropdown.(Data-Admin-Operator-AccessGroup )

The properties of Data-Admin-Operator-AccessGroup are accessed through the above created linked property.

Create a section testLinkSection.
1. Include the property linkProp as a textfield.(.linkProp) for demo purpose I have refreshed the section for OnChange event.
2. Include another text field to access the properties of linked property. (.linkProp.pyLabel)



Post / comment if you have any questions regarding linked properties, I may help you.

https://pdn.pega.com/user-interface/use-linked-properties-to-display-data-from-related-objects

1 comment: