In ax 2012 in form with template "list page" you normally cannot access the clicked method on the button. You are just not allowed to overwrite method `clicked
You can change this behavior by setting the button property "DisplayTarget" to the value "Client". Than you can change the code of clicked
method. But it does not feel right.
Is there any way how to access clicked method better way? For example by using *FormName*ListPageInteraction
which is linked in form properties?
P.S.: I know you can make menu item (action) -> and call some class. But when you do not want to open new form in new window (by using menu item [display]), but you want to change something on current form it feels even worse than overwriting clicked method.