You need to sign in to do that
Don't have an account?
![venkateshp venkateshp](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Moving account records from one salesforce org to another salesforce org through Apex
Hi,
i need to transfer the records from one salesforce org to another salesforce org through apex.
IF i click on accounts tab in visuvalforce page, all the accounts of the org are displayed , and there is an option like
move to my orgi, if user click on this button i need to move all the account records to his salesforce account tab.
i am looking for workaround to achieve this one. Its very urgent to me.
Thank you in advance!
Best Regards,
Venkatesh.
you can look in to salesforce to salesforce feature .. and the respective objects involved in this.. you can acheive this by enabling salesforce to salesforce.....some help from here
Hi Kiran,
Thank you for quick response.
I gone through the Salesforce to salesforce connection procedure.
How can i automate the above procedure with apex..like creating connecton with the target and accepring connection from
input org automatically and sharing records through apex clss itself.
How can i achieve above one!
Thanks in advance!
Best Regards,
Venkatesh
go through the complete documentation of salesforce to salesforce .. that will give you complete idea..
Here is the code just change accordingly