Question
Infosys
AU
Last activity: 25 Mar 2018 10:36 EDT
pxShowReport activity
What is the use of pxShowReport activity ? how different is it from pxRetrieveReportData ?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hi Anuj,
I had performed a sample test on both the activities by calling them in my custom activity, for pxShowReport call it had opened the report data in the browser window while running the custom activity. Whereas for pxRetrieveReportData activity call it doesn't show the report data in the browser.
So i can say that pxShowReport activity can be used to show the report data which can't be achieved with pxRetrieveReportData activity.
Hope this might help you.
Regards
Mahesh
Pegasystems Inc.
US
To further confirm you "pxShowReport will render a harness with the results, whereas pxRetrieveReportData will put the results in a given page. Besides that, there isn't a lot of difference between the two, even though they appear not to share any code."
Infosys
AU
Where is the data returned from pxShowReport stored ? I can see it in the pyReportContentPage in the clipboard, but this page is not visible in the tracer.
Updated: 10 Jan 2018 11:14 EST
Pegasystems Inc.
IN
pxRetrieveReportData retrieves the data from the Report that we call by using Call Rule-Obj-ReportDefinition .
pxRetrieveReportData Serves as an API to dynamically change FilterConditions, Maximum Number Of Records that we can retrieve by calling a Report ,Sort Order and Sort Type of the parameters that are included in the Report ,PagingEnabled and PageSize by using Property-Set method in the Activity.
pxShowReport will launch the report in new window it doesn't have capabilities like pxRetrieveReportData .
Thanks,
Arun
Infosys
AU
So, does the pxShowReport activity return any data or not ?
Pegasystems Inc.
IN
Hello Anuj,
It doesn't return any data .
Thanks,
Arun
Tech Mahindra
CA
I used pxShowReport to show results from activity after migrated to pega 7.3.1 but results are not displaying on the screen. Any suggestions please?
-
Renuka Boddu
J.P. Morgan Services India PVT Ltd
IN
Hello,
I have tested the same, and it is working for me, are you using any custom report definition of yours, can you try with "pxRetrieveAllOperators" RD Which is part of "Data-Admin-Operator-ID" class, it will show all the operators present.
Thanks.
Tech Mahindra
CA
Hi,
When i run via test activity report is displayed but when i called RD from dropdown on change actvity, report is not displayed. Paramaters i passed are pyReportClass, pyReportName and pyReportDisplay.
Thanks,
Naveen
J.P. Morgan Services India PVT Ltd
IN
Hi Naveen,
I am still able to see the report in the drop down on change configuration as well,
can you please share how are you configuring it.
Tech Mahindra
CA
Hi,
Below is the onchange activity calling from dropdown
Calling report definition rule from showList activity below
Thanks,
Naveen
Tech Mahindra
CA
Attached configuration details as below