Question
Class of the response data transform of List structure Data Page: Code-Pega-List
PRPC requires the class of the response data transform of List structure Data Page to be Code-Pega-List. What could be the reasons?
Steps to reproduce:
1) Find/ create a Data Page with a List Structure
2) Click dropdown to the response data transform or type to create a new data transform
3) the class of the response data transform will be Code-Pega-List
However if the structure of the data page is Page, PRPC requires the class other than Code-Pega-List i.e. the class defined in the object type.
***Updated by moderator: Lochan to update Categories***
Hi,
When you use the list structure of a datapage, the datapage is expected to hold results on pxResults() pagelist . And the class of pxResults gets defined at run time(the one we specified in the ObjectType field).
Thus if datapage is list structured it will use Code-Pega-List as the applies to key part to find the rule.
If datapage is page structured, the prpc uses the Object-Type as the applies to key part, to search for the rule, with rule resolution.