[英]Pass parameters to report definition using activity. Pega8.6
Well best practice is to call that Report Definition
through a parametrized Data Page
if parameters are very few.如果参数很少,那么最佳做法是通过参数化
Data Page
调用该Report Definition
。
Any way you can still pass those parameters to any called Activity
by using bellow steps.您仍然可以使用以下步骤将这些参数传递给任何被调用的
Activity
的任何方式。
Create one Property-Set
method before calling report definition and set these parameters.在调用报表定义之前创建一个
Property-Set
方法并设置这些参数。
Param.pyReportName = "YourReportName" Param.pyReportName = "你的报告名称"
Param.pyReportClass = "YourReportClass" Param.pyPageName = "PageName" Param.GradeParameter = "ValueOfGradeParameter"
Now call the report calling activity(your 6th step) with Pass current parameter page
check box checked.现在调用报告调用活动(您的第 6 步)并选中
Pass current parameter page
复选框。 By checking this check box you can pass all the parameters to the called Activity
which you set in the main Activity
.通过选中此复选框,您可以将所有参数传递给您在主
Activity
Activity
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.