ReportScopeInfo Class

Contains information about possible scope values that you can choose. Scope values depend on the report type. For example, you can set the scope for opportunity reports to All opportunities, My team’s opportunities, or My opportunities.

Reports

The following are methods for ReportScopeInfo.

  • getDefaultValue()

    Returns the default scope of the data to display in the report.

  • getValues()

    Returns a list of scope values specified for the report.

Returns the default scope of the data to display in the report.

public String getDefaultValue()

Type: String

Returns a list of scope values specified for the report.

public List<Reports.ReportScopeValue> getValues()

Type: List<Reports.ReportScopeValue>