Monday, July 22, 2013

Trying to debug a SF datasource

Curious if anyone has thoughts on this...

Trying to use this to talk to Salesforce:
http://bakery.cakephp.org/articles/cwestonr/2010/01/26/example-datasource-for-salesforce-enterprise-1

In the view if i try $record->Name it gives:
Notice (8): Undefined property: stdClass::$Name
However, I do see that I get 10 "rows" back.

Turns out I can do $record->any, but that shows all the fields, all concatenated together like "TestAccount001i0000008aLOFAA2CC978213..."

Not sure why it can't find "Name", etc.

-Chris

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: