I am trying to get the value of a custom field in salesforce. I am trying to use this sample code:
http://wiki.developerforce.com/index.php/PHP_Toolkit_20.0_Query_Sample_(Enterprise )
And add the name of the custom field to select. However, the selection works, but my output does not contain a custom field (only the other fields in my selection).
$response = $client->query(SELECT Id,Name, Custom_field__c from Account limit 5);
I also tried using the retrieve () method instead of query (), but this gives me the same problem.
Any ideas?
Thanks!
source share