Field Mappings allow easy copying of data between objects. The current flows supported in the Field Mappings are:


ProcessSource ObjectTarget Object
Opportunity Booking
OpportunityContract
Opportunity Creation from a ContactContactOpportunity


To setup a field mapping, browse to the Custom Metadata object:


Setup-->Develop-->Custom Metadata -->FieldMapping-->Manage Records



Field Definitions:

  • Label: Unique Label for this entry
  • FieldMapping Name: Unique Name for this entry
  • From Object: The Source object the data will be copied FROM.
  • From Field: The field on the Source object the data will be copied FROM.
  • To Field: The field on the Target object the data will be copied TO.
  • To Object: The object the data will be copied TO.


Below is an example setup for copying the Contact's Lead Source to a custom "SourceDetail__c" field:



Below is an additional example that will copy the ORGID__c custom field from an Opportunity to a similar field on the Contract called "InstanceID__c". 



NOTE: The field types must be the same. For example, it will not copy a text field into a date field.