i run report from menu items after creating controller class
is there any method like override ShowQueryValues that used to hide query parameter?
how can i hide Contract Parameters from the menu item?
*This post is locked for comments

i run report from menu items after creating controller class
is there any method like override ShowQueryValues that used to hide query parameter?
how can i hide Contract Parameters from the menu item?
*This post is locked for comments
If you want to hide a specific single parameter, follow this same discussion https://community.dynamics.com/ax/f/33/p/234476/643556
or
If you want to hide the parameter dialog box from the user completely use,
YourControllerClass controller; controller = new YourControllerClass(); controller.parmShowDialog(false);
Or
controller.run(); instead of controller.startOperation(); //it will skip the dialog for parameters and run the report directly.
in your controller class.
thanks for your verified answer
i use parmShowDialog(false) but not work
so i use controller.run() that i worked
thanks again.
You're welcome.