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
TheMythicalTheMythical 

Question while deploying to force.com platform

Can we use ant script to directly import some custom object's data to force.com platform, if so, what is the steps to do that? Thanks!

Best Answer chosen by Admin (Salesforce Developers) 
snugglessnuggles

hi themythical,

 

the migration tool built on top of ant is designed to work with the metadata api, which doesn't actually move records.  you will want to use the dataloader, and to automoate that you can research an option called command line dataloader where you can call the dataloader from a script.

All Answers

snugglessnuggles

hi themythical,

 

the migration tool built on top of ant is designed to work with the metadata api, which doesn't actually move records.  you will want to use the dataloader, and to automoate that you can research an option called command line dataloader where you can call the dataloader from a script.

This was selected as the best answer
TheMythicalTheMythical
thanks for you kind help.