function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
oofoofoofoofoofoof 

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 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.
cheenathcheenath
We dont have javadoc style documentation for Ajax toolkit.
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,






oofoofoofoofoofoof
Cheenath, thanks for info - looks like the tools will provide what I'm looking for. We are only allowed IE at my workplace. I fought the good fight to get Firefox installed on my WS in the past and lost. Time to take up arms again...
DevAngelDevAngel
There is general usage doc here

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..
oofoofoofoofoofoof
>>For the most part, the Ajax toolkit closely follows the Api documentation as to object structure and call arguments and return values..
Could you please post a link to the api documentation where I can find the object structures