Question

3
Replies
29
Views
Gopireddy Venkatareddy (Venkatareddy)
BNP Paribas
Senior Software Engineer
BNP Paribas
IN
Venkatareddy Member since 2011 1 post
BNP Paribas
Posted: June 3, 2021
Last activity: June 22, 2021
Posted: 3 Jun 2021 7:25 EDT
Last activity: 22 Jun 2021 0:21 EDT

Calling pxShowReport from a java step in activity to open report definition results in new window

Hi ,

I am trying to Call pxShowReport from a java step in activity to open report definition results in new window. I am facing issues with Java code. can anyone help on this? . I tried below code but not working

 

final HashStringMap certStrMap = new HashStringMap();    certStrMap.putString("pyActivityName", "pxShowReport");

certStrMap.putString("pyClassName", "Rule-Obj-Report-Definition");

tools.openUrlInWindow(certStrMap,tools.getPrimaryPage(), tools.getParameterPage());

 

Thanks in Advance.

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.4.3 Case Management Reporting Financial Services Senior System Architect