Question

5
Replies
4073
Views
Avinash Haridasu (Avinash.Haridasu)
Morgan Stanley

Morgan Stanley
IN
Avinash.Haridasu Member since 2014 295 posts
Morgan Stanley
Posted: October 22, 2016
Last activity: October 24, 2016
Posted: 22 Oct 2016 3:24 EDT
Last activity: 24 Oct 2016 7:32 EDT
Closed
Solved

pega:forEach JSP: Unable to retrieve data from an embedded page inside the looping page

My requirement is to loop through a pagelist and display label in the Address embedded page.

Below is the sampe code which I have used:

<pega:forEach name=".Customers">

                                    <pega:reference name="$THIS.Address.pyLabel" />  --Does not fetch any data.

                                   --But tools.getPrimaryPage().getPage("Address").getString("pyLabel") displays the value

</pega:forEach>

How should i access pyLabel property inside Address. Customer and Address have a one-to-one mapping.

***Updated by moderator: Lochan to update Categories***

Case Management Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.