SrsReportDataContractUIBuilder.getMultiSelectFromDialogField Method [AX 2012]

Gets the values that are selected in the multi-select control after the user clicks the OK button in the dialog box.

Syntax

protected str getMultiSelectFromDialogField(DialogField _dialogField, SysOperationDataMemberInfo _memberInfo)

Run On

Called

Parameters

  • _dialogField
    Type: DialogField Class
    The dialog box field for the multi-value control.

Return Value

Type: str
A semicolon-delimited string that contains the values that were selected.

Remarks

This method is overridden from base control.

In a Microsoft SQL Server Reporting Services report, a valid value has a structure of key mapped to a label. The multi select control will show the label.

We must convert the label to the internal name because the Microsoft SQL Server Reporting Services report will use the internal key and not the label.

We will convert the return value to be semicolon-delimited keys.

See Also

Reference

SrsReportDataContractUIBuilder Class