Question

2
Replies
3569
Views
Close popover
Sean Salaz (SALAZONE)
PEGA
Senior System Architect, Pega Academy
Pega
US
SALAZONE Member since 2006 46 posts
PEGA
Posted: September 29, 2017
Last activity: October 16, 2018
Closed
Solved

Data Page with List Structure

I need to access data from a data page that is configured with a list structure. This data page is configured as Structure = List (as opposed to "Page") and contains a Response Page List entry so that the resulting data will go to D_List.pxResults(x) instead of D_List.PageProp.PageListProp(x). The problem I'm running into is that when I assign data in my activity:

Activity context = D_List.pxResults (defined on Pages & Classes tab)
Property-Set:
NewPage.Prop1 = .Prop1
NewPage.Prop2 = .Prop2

This does not save because D_List.pxResults points to the actual class of the data being returned which contains the PageProp.PageListProp structure. So the compiler is looking for this:

Property-Set:
NewPage.Prop1 = PageProp.PageListProp(<CURRENT>).Prop1
NewPage.Prop2 = PageProp.PageListProp(<CURRENT>).Prop2

This saves but doesn't work at runtime because the D_List page is configured to produce results in D_List.pxResults.

How do I overcome this?

***Edited by Moderator Marissa to update categories***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Data Integration
Moderation Team has archived post,
Close popover 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.