Tuesday, 27 September 2016

LIST PAGE Passing through parameter

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());

No comments:

Post a Comment

POSTMAN D365

  Postman is useful to test the behavior of different OData class from/to D365FO. In this post we will see the steps to setup Postman with D...