EntityLimit

Represents the limits for an object as displayed in the Setup UI.

Version 

Introduced in API version 34.0.

Supported SOAP API Calls 

describeSObjects(), query()

Supported REST API Methods 

Query

Limitations 

SOQL Limitations

SOSL Limitations

Fields 

DurableId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: Unique identifier for the field. Always retrieve this value before using it, as the value isn’t guaranteed to stay the same from one release to the next. Use this field to simplify queries.

EntityDefinitionId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: ID of the object to which these limits apply.

Label 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: The label of the object to which these limits apply.

Max 

  • Type: int

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: The maximum number of objects that the organization is allowed to have.

Remaining 

  • Type: int

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: The number of objects still available. For example, if the limit on custom objects is 100, and you create 75, this value is 25.

Type 

  • Type: picklist

  • Required: No

  • Properties: Filter, Group, Restricted picklist, Sort

  • Description: What type of component the limit applies to:

  • ActiveLookupFilters

  • ActiveRules

  • ActiveValidationRules

  • ApprovalProcesses

  • CbsSharingRules

  • CustomFields

  • CustomRelationship

  • RollupSummary

  • SharingRules

  • TotalRules

  • VLookup

  • Possible values:

    • CustomFields — Custom Fields

    • RollupSummary — Rollup Summary Fields

    • CustomRelationship — Custom Relationship Fields

    • ActiveRules — Active Workflow Rules

    • TotalRules — Total Workflow Rules

    • ApprovalProcesses — Approval Processes

    • ActiveLookupFilters — Active Lookup Filters

    • ActiveValidationRules — Active Validation Rules

    • VLookup — VLOOKUP Functions

    • CbsSharingRules — Sharing Rules (Criteria-based Only)

    • SharingRules — Sharing Rules (Both Owner- and Criteria-based)

    • ExtraFormulaFields — Formula Fields Excluded from the Custom Field Count

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!