O'Reilly logo

Microsoft Dynamics AX 2012 Services by Kenny Saelen, Klaas Deforche

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Custom UI Builders

One of the great improvements that the SysOperation framework has over the RunBaseBatch framework is that it generates the dialog for you. Fields on the dialog, for example, are generated based on the data contract. But if you want to change the dialog that is generated, you can use the UI Builder classes.

When we say custom UI Builders, we mean a class that extends the SysOperationAutomaticUIBuilder class. This is the class that generates the dialog based on the data contract of your service operation. By extending this class, you can add your own logic to the building process. Most commonly this will include logic that:

  • Sets properties of field controls such as mandatory and enabled
  • Overrides methods of field controls such as ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required