I have created a report definition under -Data layer and I have set parameter there as a filter.
Now, I want to call this report under work layer and pass the parameter using activity.
How can I do that ?
1 Answer
Well best practice is to call that Report Definition through a parametrized Data Page if parameters are very few.
Any way you can still pass those parameters to any called Activity by using bellow steps.
Create one
Property-Setmethod before calling report definition and set these parameters.Param.pyReportName = "YourReportName"
Param.pyReportClass = "YourReportClass" Param.pyPageName = "PageName" Param.GradeParameter = "ValueOfGradeParameter"Now call the report calling activity(your 6th step) with
Pass current parameter pagecheck box checked. By checking this check box you can pass all the parameters to the calledActivitywhich you set in the mainActivity.