Friday, July 3, 2015

Block/Remove Personalization option on the form using X++ (Dynamics AX 2012)

Friends,

We all know that the users are provided with many options to personalize forms in Microsoft Dynamics AX . These include moving controls, setting properties on controls, and adding extra fields to forms.

We can block/remove the personalization option on a particular form using x++ code. To do this, override the init() method of the form/element and add the below code after super(); as shown below
element.blockPersonalization(true); will help to remove this option

image
For more information on enabling/disabling the personalization on the forms : Here is the link

No comments:

Post a Comment