0 votes
1 view
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 (30.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>

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...