Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Salesforce by (11.9k points)

Just random pick some methods that I have found:

 sforce.connection.describeSObject

 sforce.SearchResult

 sforce.sObject

 sforce.LeadConvert()

 sforce.connection.create()

I just want to know what is this class for? and where can I find documentation for it?

Thanks

1 Answer

0 votes
by (32.1k points)

These objects/methods are for accessing the Salesforce API using AJAX. Before Visualforce became available, this was the library you'd use from within s-Controls to access the API. You'd include connection.js like this:

<script src="/soap/ajax/24.0/connection.js" type="text/javascript"></script>

Go for this in-depth job-oriented salesforce training online now! 

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...