Share via


SysOperationAutomaticUIBuilder.addDialogField Method [AX 2012]

Adds fields to the dialog box that is being built.

Syntax

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

Run On

Called

Parameters

  • _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).

Remarks

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.

See Also

Reference

SysOperationAutomaticUIBuilder Class