+ Start a Discussion

Bulk upload Master-Detail objects input data format


I have 2 custom objects Person and Address. Person is master and Address is the detail. I have defined Address in Person as master detail relationship.

How do i define data in csv for bulk upload (using reference bulk upload java code)? Is there any reference XML files which i can use to see how master detail is defined for bulk upload in Salesforce


Thank you


Best Answer chosen by Admin (Salesforce Developers) 
Andy BoettcherAndy Boettcher

You need to first upload your Master data - match up the resulting Ids up with your Child table, then upload your Child data.