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.

ReportDivisionInfo Class

Contains information about the divisions that can be used to filter a report.

Namespace

Available only if your organization uses divisions to segment data and you have the “Affected by Divisions” permission. If you do not have the “Affected by Divisions” permission, your reports include records in all divisions.

Reports

Usage

Use to filter records in the report based on a division, like West Coast and East Coast.

ReportDivisionInfo Methods

The following are methods for ReportDivisionInfo.

getDefaultValue()

Returns the default division for the report.

Signature

public String getDefaultValue()

Return Value

Type: String

getValues()

Returns a list of all possible divisions for the report.

Signature

public List<Reports.FilterValue> getValues()

Return Value

Type: List<Reports.FilterValue>