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
AKallAKall 

Is it possible to upload data to two different objects simultaneously?

I would like to upload data from one csv file to two different objects at the same time. I am pretty sure that this is not possible with the data loader. Does anybody know if it is possible with the Workbench?
SteveBowerSteveBower

I don't know about this particular capability in the workbench. 

 

You could always create a new object (X) with all the fields in the CSV file and write a before-insert trigger which creates the objects you really want and then removes the records from Trigger.new so the X records never even get created.

 

But, there's probably a better way but it's late and I should go to sleep.  :-)  Steve.