Parameter passing

Hi all,

How to pass the parameter(argument) to report by menuitem or through menuitemButton


Try to have a search in the AOT on args.parameter.

You should create an args instance and use this for your report.


For a menuitem of type say display or action, you can set the parameter on parameters property.

If you want to pass the parameter of type enum, you can do that by selecting the enum in EnumTypeParameter property and the value of the enum in EnumParmeter property.

In the code, especially in the main class, you can make use of the args parameters.

trying using args.paramEnum(), args.paramEnumType() to get the corresponding values.