Why the Fields Mapping feature does not work for me?
Answer.
It may be caused by one of the following reasons:
Probably you forgot to set the useFieldMapping property to true. Check your export.json.
If you are using FieldMapping.csv file to define the field mapping, validate the format of the file.
Below is the example of a wrong configuration:
ObjectName,FieldName,Target
OldChapter__c,,Chapter__c
csvfile,xApi__Site__c,Site__c
csvfile,CurrencyIsoCode,CurrencyIsoCode
csvfile,Name,Name
csvfile,xApi__Banner__c,Banner__c
... because "csvfile" is not a valid value for the ObjectName. ObjectName should always be the name of the source object.
Modify your CSV file as the following and replace csv file value with the actual name of the object:
ObjectName,FieldName,Target
OldChapter__c,,Chapter__c
OldChapter__c,xApi__Site__c,Site__c
OldChapter__c,CurrencyIsoCode,CurrencyIsoCode
OldChapter__c,Name,Name
OldChapter__c,xApi__Banner__c,Banner__c