You need to sign in to do that
Don't have an account?

Migrating S-controls
to
<script src="/soap/ajax/13.0/connection.js" type="text/javascript"></script>
i am confused which code do i need to use to log into Salesforce.
currently i am using the following
sforceClient.init({!API_Session_ID}", "{!API_Partner_Server_URL_70}");
But i found in some documentation that this value should be changed from sforceClient to sforce.connection
If i completely removed the above statement, i am getting the error 'sforce undefined'.
My question is do i need to remove this [sforceClient.init({!API_Session_ID}", "{!API_Partner_Server_URL_70}");]
statement completely or should i change sforceClient to sforce.connection. Please respond
It would be great if any one can send me some documentation links which describes the migration with examples.
Message Edited by renu on 07-17-2008 01:12 PM
I used all the ways and able to complete the code. When i try to save the record which calls this s-control,
a new window is getting opened. with the following info.
AJAX Toolkit Shell
Using bookmarklet version of shell: commands will run in opener's context.
null
null
What is this. i have no idea. Plz let me know what this means. Why is this window opened.