Skip to main content

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 LabelAPI NameTypeDescription
LabelMasterLabelText(40)A user friendly label for the mapping
Custom Metadata Record NameDeveloperNameText(40)The API name of the mapping
Processseven20__Process__cPicklistThe name of the process that the mapping is used for
Source Objectseven20__Source_Object__cMetadata Relationship(Entity Definition)A lookup to the source object
Source Fieldseven20__Source_Field__cMetadata Relationship(Field Definition)A lookup to the source field
Target Objectseven20__Target_Object__cMetadata Relationship(Entity Definition)A lookup to the target object
Target Fieldseven20__Target_Field__cMetadata Relationship(Field Definition)A lookup to the target field
Record Typeseven20__Record_Type__cText(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.