How to add a method for the click event of a button placed on action pane of a List Page

StackOverflow https://stackoverflow.com/questions/23198246

  •  07-07-2023
  •  | 
  •  

Pregunta

I placed a new button on the action pane of a list page in Microsoft Dynamics AX 2012.

I am then trying to override the clicked method for the same button, but, I am unable to find the options menu with the method override list.

Any idea?

¿Fue útil?

Solución

See this question for your answer.

Setting the DisplayTarget property of the button to the value "Client" will hide the button if used from Enterprise Portal and will enable you to override the clicked method. If you not plan to use the list page in EP then go ahead.

Otherwise you will have to put your code in the target form init or class main method.

Otros consejos

This is the Microsoft Dynamics Community answer for the same.

https://community.dynamics.com/ax/f/33/t/65449.aspx

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top