Back
I'm trying to get the value of a custom field in salesforce. I'm trying to use this sample code:
http://wiki.developerforce.com/index.php/PHP_Toolkit_20.0_Query_Sample_(Enterprise)
And add the custom field name to the select. The select works, however, my output does not contain the custom field (only the other fields in my select).
$response = $client->query(SELECT Id,Name, Custom_field__c from Account limit 5);
I've also tried using the retrieve() method instead of query() but that is giving me the same problem.
Any ideas?
Thanks!
You basically need to get a new WSDL out of the account. If the WSDL doesn't have the fields you don't see them in your response.
31k questions
32.8k answers
501 comments
693 users