Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DetailColumn Class

Contains methods for describing fields that contain detailed data. Detailed data fields are also listed in the report metadata.

Namespace

Reports

DetailColumn Instance Methods

The following are instance methods for DetailColumn. All are instance methods.

getName()

Returns the unique API name of the detail column field.

Syntax

public String getName()

Return Value

Type: String

getLabel()

Returns the localized display name of a standard field, the ID of a custom field, or the API name of a bucket field that has detailed data.

Syntax

public String getLabel()

Return Value

Type: String

getDataType()

Returns the data type of a detail column field.

Syntax

public Reports.ColumnDataType getDataType()

Return Value

Type: Reports.ColumnDataType