All Questions
Tagged with custom-metadata metadata-relationship
9 questions
0
votes
1
answer
63
views
Metadata Relationship to the same custom metadata type
I want to link the same custom metadata type to itself using Metadata Relationship.
Example:
Metadata api name: My_Custom_Metadata__mdt
Metadata Relationship: Parent__c
I want to connect ...
0
votes
1
answer
38
views
How to verify a custom metadata type relationship field's datatype
I have a CMDT SObject called MyCmdt__mdt
It has two fields
Field Name
Field Type
SObjectType__c
Metadata Relationship (Entity Definition)
SObjectField__c
Metadata Relationship (Field Definition)
I ...
0
votes
1
answer
824
views
Custom Metadata relationship - unable to create
I want to create relationship between two Custom Metadatas. When I'm trying to add appropriate field and save, I get message
Cannot Create Master-Detail Relationship
You cannot create a new Master-...
1
vote
0
answers
455
views
Cannot select person account fields in Custom Metadata Field or Particle relationships
Given a Custom Metadata Type with an Entity Definition Metadata Relationship field ("Account Object" in screenshot), and a Field Definition Metadata Relationship field ("Person Account ...
1
vote
1
answer
811
views
Adding a custom field to standard object activity [duplicate]
I would like to add a custom Date field to a standard Activity object. Lets say this date field is called 'food_expiration__c'. Looking at another question: How to create Custom Fields on Standard ...
3
votes
1
answer
834
views
Cannot ORDER BY when querying Custom Metadata
I have Custom Metadata types with simple relationships between them. When I query them with a relationship query and try to ORDER BY, only 1 of the inner records is returned.
I run this in Anonymous ...
9
votes
1
answer
2k
views
Qualified API Name returns null in Test context for Custom Metadata
Winter 19 release provides ability to instantiate the custom metadata in apex .This seems to be useful to generate data for test classes .
However when we have metadata relationship entity or field ...
0
votes
1
answer
4k
views
Error with Custom Metadata deployment via metadata API
In testing dev org (org A) CustomMetadata was made and added to the package.
This package was retrieved via metadata API (VS Code + ForceCode plugin).
Now I am trying to deploy (migrate) all changes ...
6
votes
2
answers
1k
views
Custom Metadata Relationships and Compound Fields
Custom Metadata Types now support relationships, so we can have a reference to an object and even references to field definitions. Is there a way to reference the individual parts of compound fields, ...