You need to sign in to do that
Don't have an account?
moe nDev
Adding record
Greetings,
I've gotten sample application to work just fine. Login, edit/delete data.... now I need to know how to insert record. I haven't seen any examples on how to do that. Will query work just? What format do I need to set vars/values as?
Greatly appreciated,
~m
I've gotten sample application to work just fine. Login, edit/delete data.... now I need to know how to insert record. I haven't seen any examples on how to do that. Will query work just? What format do I need to set vars/values as?
Greatly appreciated,
~m
Here's the example...
$fieldsToAdd = array( 'Name' => $name, 'BillingCity' => $ct, 'BillingState' => $st, 'Phone' => $phone, 'Fax' => $fax );
$sObject = new SObject();
$sObject->fields = $fieldsToAdd;
$sObject->type = 'Account';
$add = $mySforceConnection->create( array( $sObject ) );
and it worked just fine. So, it wasn't that bad after all.
Now, I guess what I'm looking for is some sort of ER diagram. I'd like to know what fields exist in what table etc. Furthermore, I've also tried using wildcart ( * ) in my sql and that didn't work out. Is there a list of what can't I use etc? Can I do joins?
Any answers to help noob are greatly appreciated.
Thank you,
~m