You need to sign in to do that
Don't have an account?
oofoofoof
Where is the documentation for ajax Toolkit?
Here is a code snippet from sforce.com:
var result = sforce.connection.query("select Name from account"+
" where BillingState in ('CA', 'OR', 'WA')")
result.records.forEach(function(account) { print(account.Name) })
" where BillingState in ('CA', 'OR', 'WA')")
result.records.forEach(function(account) { print(account.Name) })
Where is the javadoc like description for the sforce object? for the connection object? for the result object?
What members do they have? What methods do they support?
I've looked, but have not been able to find.
Can somebody post a link if the documentation is available.
This link does not include the detailed info I'm looking for.
I think this is something useful to have.
In the mean time you can run the query in debug shell
and <tab> on the result to see the fields and method on
it. You can also tab on sforce.connection.<tab> to see all
the API methods on connection.
(only works on Fire fox, though.)
HTHs,
http://www.salesforce.com/us/developer/docs/ajax80/index.htm
For the most part, the Ajax toolkit closely follows the Api documentation as to object structure and call arguments and return values..