Share via


EventBuildValidAlertFields.setUniquePostfix Method [AX 2012]

Adds a post-fix to duplicate field labels so that users can distinguish between them.

Syntax

protected void setUniquePostfix()

Run On

Client

Remarks

This method is called as the last part of the processing in the build method.

If more than one field has the same label, they are all post-fixed with the label of the FormGroupControl that they are hosted within. The final value of the label is: FieldLabel (GroupLabel).

Duplicate field labels are collected in a set (labelSetDuplicate). A postfix is appended to the label of each entry in the set. Postfixes are collected in the buildRecursive method.

See Also

EventBuildValidAlertFields Class

EventBuildValidAlertFields.build Method

FormGroupControl Class

Set Class

EventBuildValidAlertFields.buildRecursive Method

EventBuildValidAlertFields.containerHasValidLabel Method