You need to sign in to do that
Don't have an account?
aboyd
php_sforce_nusoap - can't update a lead?
I'm using php_sforce_nusoap. I've got code that gets the ID of a lead, then attempts to add to that lead's data. Getting the ID is fine. But after the update, I check the record in SalesForce, and it is unchanged. Why?
$queryResult = $sfdc->query("SELECT id, Email FROM Lead WHERE Email='$email'");
if (isset($queryResult['records'][0]['Email'])) {
$contact1 = new sObject(
'Lead',
$queryResult['records'][0]['id'],
array(
'DownloadedFiles' => $temp_data['urls']
)
);
$updateResult = $sfdc->update($contact1);
}
Message Edited by aboyd on 11-08-2005 12:35 PM