Question
How to pass parameters to report definition which are set dynamically
Hi,
We have a requirement in pega 7.3.1 to show report definition on select of drop down value. Parameters are to be set dynamically basd on value selected in drop down and these values should be passed to report definition but values are not passed.
Tried the following approaches:
1. On change of drop down, in actionset call activity to set parameters and 2nd action is call report definition by passing params.
2. On change of drop down, in actionset show harness with pre activity to set params and display section from report definition results in harness with param page passed to RD.
3. On change of drop down, in actionset call activity to set parameters and call report definition from this activity by passing params. But results are not displayed on the screen.
Please suggest how to achieve my requirement.
In the 3rd approach mentioned above after calling the report using pxRetrieveReportData. in the next step call displayReport activity with the step page as results page of report (i.e.Param.pyPageName passed to pxRetrieveReportData )
On change of dropdown value, it you want to show the report results in a seperate window. Use open url in window and in the pre processing activity do the above steps.