Field Mappings
The Field Mappings (seven20__Field_Mapping__mdt) metadata table is used to define field mappings from a source SObject to a target SObject for various processes across Seven20. These processes usually involve taking the value from the source field on the source object, and copying it to the target field on the target object. See below for an overview of the metadata type's fields:
| Field Label | API Name | Type | Description |
|---|---|---|---|
| Label | MasterLabel | Text(40) | A user friendly label for the mapping |
| Custom Metadata Record Name | DeveloperName | Text(40) | The API name of the mapping |
| Process | seven20__Process__c | Picklist | The name of the process that the mapping is used for |
| Source Object | seven20__Source_Object__c | Metadata Relationship(Entity Definition) | A lookup to the source object |
| Source Field | seven20__Source_Field__c | Metadata Relationship(Field Definition) | A lookup to the source field |
| Target Object | seven20__Target_Object__c | Metadata Relationship(Entity Definition) | A lookup to the target object |
| Target Field | seven20__Target_Field__c | Metadata Relationship(Field Definition) | A lookup to the target field |
| Record Type | seven20__Record_Type__c | Text(80) | The developer name of the record type on the source object this mapping should apply to. Leaving blank makes it apply to all record types |
tip
This metadata table can also be used for any custom field mapping operations by setting the Process field to Custom. A custom sub-type field may also be used to further categorise the mapping.