BOMPartOfUIBuilder.addDialogField Method [AX 2012]
Adds fields to the dialog that is being built.
Syntax
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).
Remarks
This is a derived class and uses this method to add fields to the dialog that is being built. The method automatically derives labels and control types from the data contract.