SysOperationAutomaticUIBuilder.addDialogField Method [AX 2012]

Adds fields to the dialog box that is being built.

protected DialogField addDialogField(IdentifierName methodName, [Object _dataContract])

Run On

Called

Parameters

methodName
Type: IdentifierName Extended Data Type
The name of the property to add.
_dataContract
Type: Object Class
The object on which the property to be bound exists.

Return Value

Type: DialogField Class
If the property type is supported for the UI, the DialogField object that represents the UI control that was added; otherwise, nullNothingnullptrunita null reference (Nothing in Visual Basic).

Derived classes should use this method to add fields to the dialog box that is being built. The method automatically derives labels and control types from the data contract.

Community Additions

ADD
Show: