You need to sign in to do that
Don't have an account?
vlr
One php form two Salesforce orgs
I need to create a PHP form that will simultaneously send data to two Salesforce orgs, and update Accounts, Contacts, and some custom objects. Is it possible? What will be the approach to implement this? ( if it webservice, how can I use two stubs/wsdls from two different orgs for the same php form? )
Thanks.
This is certainly possible. I would recommend looking into the Force.com Toolkit for PHP. Since you are inserting records into two different Salesforce orgs, you'll just need to create two separate connection objects to work with. In other words something like
Then you shoul be able to insert records into the different orgs using the corresponding connection objects (in this case, $sfdc1 and $sfdc2).