Export mapping with related fields #854
-
I'm having problems creating a export mapping file where the fields are from related objects. Fx Id=Id works fine, but when i try either BusinessCommitmentSummary__r.LoansCreditsGuaranteesRammerSumCur__c=LoansCreditsGuarRammerSumCur I end up with an empty CSV - no data exported |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @phiff , can you share your SoQL query and Here is my org's setup:
I created the following mapping:
I ran the following query:
Here is the result in a csv file:
The csv file shows that the field mapping is correctly applied. |
Beta Was this translation helpful? Give feedback.
Hi @phiff , can you share your SoQL query and
process.mappingFile
property in your config.properties file?Here is my org's setup:
2 custom sobjects:
childCustom__c
sobject:parentCustomName__c
is a Lookup field pointing toparentCustom__c
parentCustom__c
sobject:field1__c
I created the following mapping:
I ran the following query:
Here is the result in a csv file:
The csv file shows that the field mapping is correctly applied.