OrgMetric

Represents a feature or metric that Salesforce Optimizer evaluates.

Introduced in API version 47.0.

create(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

  • This object is only available in orgs where Salesforce Optimizer is enabled. Requires the Modify All Data and Customize Application user permissions.
  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Sort

  • Description:

    The category of the feature evaluated.

    The default value is Org Limits.

  • Possible values:

    • Custom Code — Custom Code
    • Custom Layouts — Custom Layouts
    • Fields — Fields
    • Improve Org Security — Improve Org Security
    • Improve User Experience — Improve User Experience
    • Increase User Adoption — Increase User Adoption
    • Object Limits — Object Limits
    • Org Limits — Org Limits (default)
    • Reports And Dashboards — Reports And Dashboards
    • Usage — Usage
    • User Management — User Management
    • Workflow — Workflow
  • Default value: Org Limits

  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Sort

  • Description:

    The feature evaluated. For a full list, see Features Evaluated in Salesforce Optimizer.

    The default value is Unassigned Page Layouts.

  • Default value: Unassigned Page Layouts

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description:

    The feature’s OrgMetricScanSummaryID from the most recent Optimizer evaluation.

    This field is a relationship field.

  • Relationship name: LatestOrgMetricScanSummary

  • Relationship type: relationship

  • Refers to: OrgMetricScanSummary

  • Type: string
  • Properties: Filter, Group, idLookup, Sort
  • Description: A unique number that identifies the feature.