• Nicholas Murdock
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

I can get the standard object fields no problem. And I've checked the custom field permissions ECS__eCommSource_Order__c in SF, and can post via the API to this field. But I cannot seem to retrieve this custom value with my statement. Here is the code i'm running.

$query = "SELECT Id,ECS__Order_Status__c FROM ECS__eCommSource_Order__c WHERE Name = '$order_id'"; $response = $mySforceConnection->query($query); foreach ($response->records as $record) { echo $record->Id . ": " . $record->ECS__Order_Status__c . " <br/>\n"; }

I can echo out Id no problem, but the custom field ECS__Order_Status__c will not show it's head. From APEX this same SOQL query works correctly.
this is the response for the above request:
a0j36000001tBPVAA2: <-- Just the record ID only.
Any PHP pros have an idea?

 
I cannot complete the "Create custom objects and custom fields" Challenge. I am getting this error message: 
Challenge Not yet complete... here's what's wrong: 
All the expected custom fields for the Trail__c object could not be found.

Although I am pretty sure I got the right:
User-added image
What am I missing?
  • December 09, 2015
  • Like
  • 0