You need to sign in to do that
Don't have an account?
Mike @ Partners
fieldsToNull isnt working
I am trying to update a Date feild in accounts to blank but i cant get it to work. The 'fieldsToNull' doesnt seem to be working. I dont get any errors or faults. Any ideas? Here is my code.
Thanks,
Mike
Code:
Thanks,
Mike
Code:
global $mySforceConnection; $fieldsToUpdate = array('Id'=>$AccountID); $sObject = new SObject(); $sObject->fields = $fieldsToUpdate;
$sObject->fieldsToNull = array('Latest_PW_Date__c'); $sObject->type = 'Account'; $updateRespons = $mySforceConnection->update(array($sObject));
var_dump($updateRespons); return;
Message Edited by Tran Man on 02-02-2007 03:42 PM
Thanks.
Is this new toolkit backwards compatible? And if i update my partners WSDL will i run into any problems with my old php api apps?
Thanks agian,
Mike
FYI, we are working on a PHP toolkit with support for the 8.0 API features.
Mike