-
Book Overview & Buying
-
Table Of Contents
Microsoft Dynamics AX 2012 Services
By :
When a user has to be able to run a service by starting it in the user interface, the menu item becomes an important part of a SysOperation service. As we have seen earlier, the menu item has the following properties that the SysOperation framework needs:
A parameters property that contains a reference to the service and service operation
An enum parameter that determines the execution mode
An object property where the controller that will be used is specified
A label that will be displayed on the dialog
We will look at the first two properties now, and discuss the others later in this chapter.
The menu item is linked to the service and service operation in the Parameters property. The format in which this parameter should be provided is ServiceClass.ServiceOperation, where ServiceClass is the name of the service class, and ServiceOperation is the name of the service operation, separated by a period.
The SysOperation framework...
Change the font size
Change margin width
Change background colour