Question

1
Replies
46
Views
Ishara Wickramausrya (Ishara Derek)
Virtusa
Ishara Wickramausrya
Virtusa
LK
Ishara Derek Member since 2015 12 posts
Virtusa
Posted: January 25, 2021
Last activity: February 3, 2021
Posted: 25 Jan 2021 22:50 EST
Last activity: 3 Feb 2021 0:48 EST
Solved

Accessing DataPage in Java PRPC 8.5.2

We used to access Data Page in Java code using below code in PRPC 7. But once it is Upgraded to 8.5.2 the code would not return the AssignmentPage.

D_DataPage has one Parameter which is WOInsKey. It is a thread level DPage with reload once per interaction.

ParameterPage pp = new ParameterPage();
pp.put("WOInsKey", pzInsKey);
ClipboardPage AssignmentPage = tools.findPage("D_DataPage",pp,true);       
String Count = AssignmentPage.getString("pxResultCount");                

Is there any other ways to Load and Access DPage inside Java.

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.5.2 Enterprise Application Development Data Integration Healthcare and Life Sciences Senior System Architect