Create Relationships to Entity Particles from Custom Metadata Types

Custom metadata types now support relationships to entity particles, which are compound elements of a field. For example, you can create a relationship to Zip/Postal Code, which is a compound element of the standard field Address.

Where: This change applies to Lightning Experience and Salesforce Classic in Professional, Enterprise, Performance, Unlimited, Developer, and editions. Professional Edition orgs can create, edit, and delete custom metadata records only from types in installed packages.

How: To create a custom metadata relationship to an entity particle, first create an entity definition relationship field, then create an entity particle relationship field.

Custom metadata type entity particle field

Now when you create a record for the custom metadata type, you can drill down and select a compound element for the relationship. For example, you can select Zip/Postal Code or Time Zone, which are compound elements of Address.

Custom metadata type entity particle