To pass a parameter value from ListPage:MenuItemButton control to a form in Ax 2012 list page below are the steps..
1. For the MenuItemButton control set the AutoDeclaration property "True"
2. In list page interaction class override the SelectionChanged() method. Add the code to pass parameter value as string. For example:
this.listPage().actionPaneControlParameters(formControlStr(ListPage Name,MenuItemButton Control Name),"Parameter Value");
2. Now override the init() of the child form which is out put of MenuItemButton. Add the following code to retrieve the same..
info(element.args().parm());
Happy DAXing!!
1. For the MenuItemButton control set the AutoDeclaration property "True"
2. In list page interaction class override the SelectionChanged() method. Add the code to pass parameter value as string. For example:
this.listPage().actionPaneControlParameters(formControlStr(ListPage Name,MenuItemButton Control Name),"Parameter Value");
2. Now override the init() of the child form which is out put of MenuItemButton. Add the following code to retrieve the same..
info(element.args().parm());
Happy DAXing!!