FormBuildReferenceGroupControl.canAddDataField Method [AX 2012]

Retrieves a value that indicates whether the specified data field can be added as a child control to the control.

public boolean canAddDataField(
    int dataSourceId, 
    FieldId fieldId, 
   [int arrayIndex])

Run On

Client

Parameters

dataSourceId
Type: int
An integer value that indicates the ID of the data source that the data field is bound to.
fieldId
Type: FieldId Extended Data Type
A fieldId extended data type value that indicates the ID of the data field.
arrayIndex
Type: int
An integer value that indicates the index of the data field type; optional.

Return Value

Type: boolean
A Boolean value that indicates whether the specified data field can be added as a child control to the control.

Community Additions

ADD
Show: