Newer Version Available
Publisher
Represents the publisher of objects and fields. For example, Salesforce is the publisher for
standard objects, the organization is the publisher for custom objects, and the package is
the publisher for installed packages. Available in Tooling API version 34.0 and
later.
Fields
| Field | Details |
|---|---|
| DurableId |
|
| InstalledEntityDefinitions |
|
| InstalledFieldDefinitions |
|
| IsSalesforce |
|
| Name |
|
| NamespacePrefix |
|
SOQL Limitations
This object doesn't support some SOQL operations.
- COUNT()
- Example Query: SELECT COUNT() FROM EntityDefinition
- Error Returned: The "DurableId" field is of type number, but the value from the external data source is "Account.SearchResult". Contact your administrator for help.
- GROUP BY
- Example Query: SELECT COUNT(qualifiedapiname), isfeedenabled FROM EntityDefinition GROUP BY isfeedenabled
- Error Returned: The requested operation is not yet supported by this SObject storage type, contact salesforce.com support for more information.
- LIMIT, LIMIT OFFSET
- Example Queries:
- SELECT qualifiedapiname FROM EntityDefinition LIMIT 5
- SELECT qualifiedapiname FROM EntityDefinition LIMIT 5 OFFSET 10
- An incorrect result is returned because LIMIT and LIMIT OFFSET are ignored.
- NOT
- Example Query: SELECT qualifiedapiname FROM EntityDefinition WHERE qualifiedapiname!='Account'
- Error Returned: Only equals comparisons permitted
- OR
- Example Query: SELECT qualifiedapiname, keyprefix FROM EntityDefinition WHERE isdeletable=true OR (isfeedenabled=false AND keyprefix='01j')
- Error Returned: Disjunctions not supported