function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sam AlterSam Alter 

apex data loader -- parent-child mapping

Hello!

I would like to use the apex data loader to insert records to an object that is derived from a parent object. That is, given a parent object, I'd to insert a few children to that parent. However, I'd like to point to the parents by a "Name" or something human readable rather than "Id" which is abstract. Can I possibly do this? I can certainly export attributes that are not ID by using say, Child_Parent__R.Name, but when I use the same in field mapping, I get the error saying that "Field Mapping is invalid". Is there a workaround?

Thanks!
Sam
sreenivasAppssreenivasApps

HI Sam,
It may be any relationship, Id should be mapped. We can not use their Names or other fields.