O'Reilly logo

Mastering Microsoft Dynamics AX 2012 R3 Programming by Mat Fergusson, Simon Buxton

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

Customizing the user interface displayed by the SysOperation framework

Let's take a step back to the point where we were calling ConFMSVehicleGroupChangeController's main method directly.

The system very cleverly constructs the user interface; it does this simply by adding the data contracts data member directly to the dialog. There are some simple changes we can make to the data contract to control how they are displayed.

We make these changes by altering the decoration at the top of each data member. The following examples are useful for this:

SysOperationLabelAttribute("New vehicle group"),

Sets the label displayed on the dialog

SysOperationHelpTextAttribute ("Please select...");

Sets the help text for the resulting control

SysOperationDisplayOrderAttribute("2") ...

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