Questions tagged [fielddefinition]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

Cannot download FieldDefinition data for Contact object

I cannot download the FieldDefinition data using the Tooling API for all Contact fields. I have used this query to get the Id for the Contact object: SELECT Id FROM EntityDefinition where ...
user avatar
  • 17
0 votes
0 answers
35 views

Bulk Query for FieldDefinition object is failing

am doing a simple query to get all of the fields and their metadata from a list of objects from the FieldDefinition table. my query is: SELECT DeveloperName FROM FieldDefinition where EntityDefinition....
user avatar
1 vote
1 answer
143 views

Custom metadata type Field Definition Data Type evaluating incorrectly in validation rule

A custom metadata type has a Field Definition related to an Entity. The following validation rule ensures the value of this field can only be a User lookup: AND( FieldDefinition__c != NULL, ...
user avatar
  • 3,764
0 votes
1 answer
213 views

Why does my custom metadata field defintion query not work?

I'm reading the answer to this following question: How to get a field's API name when querying a field of datatype, Metadata Relationship(Field Definition) However, when I run the following ...
user avatar
5 votes
2 answers
691 views

Get components of a compound field?

I am currently running into this limitation of Custom Metadata: Custom Metadata Relationships and Compound Fields Since it is still not possible to relate a record to a specific EntityParticle (e.g. ...
user avatar
  • 142k
1 vote
1 answer
356 views

Querying inlineHelpText using the tooling API

From my small experiments it seems that this field isn't queryable through the Tooling API. Using this query here: https://www.salesforce.com/services/data/v40.0/tooling/query?q=Select+Id,+...
user avatar
  • 1,969
6 votes
0 answers
459 views

How to improve performance when querying CustomMetadata's FieldDefinition fields

When I query string columns on custom metadata objects, I get decent performance. However, if I query a column that points to a FieldDefinition, my query became much slower. Is this a known system ...
user avatar