You need to sign in to do that
Don't have an account?
Peter Yao
sforceClient documentation
Hi all,
I'm new to the AJAX toolkit (and Javascript), but have been getting things working with examples and documentation.
However, I haven't been able to find documentation for sforceClient. For example, I need this code to make my page work in FireFox:
if (window.XMLHttpRequest) sforceClient.appType = Sforce.Application.Type.FireFox;
sforceClient.setLoginUrl("https://www.salesforce.com/services/Soap/u/7.0");
sforceClient.init("{!API_Session_ID}", "{!API_Partner_Server_URL_70}", false);
Do I need to read sforceClient.js to find out what .setLoginURL or .init does? Is there a more friendly place to get that information, or is everything really in http://www.salesforce.com/us/developer/docs/sforce70/wwhelp/wwhimpl/js/html/wwhelp.htm
Thanks,
Peter
I'm new to the AJAX toolkit (and Javascript), but have been getting things working with examples and documentation.
However, I haven't been able to find documentation for sforceClient. For example, I need this code to make my page work in FireFox:
if (window.XMLHttpRequest) sforceClient.appType = Sforce.Application.Type.FireFox;
sforceClient.setLoginUrl("https://www.salesforce.com/services/Soap/u/7.0");
sforceClient.init("{!API_Session_ID}", "{!API_Partner_Server_URL_70}", false);
Do I need to read sforceClient.js to find out what .setLoginURL or .init does? Is there a more friendly place to get that information, or is everything really in http://www.salesforce.com/us/developer/docs/sforce70/wwhelp/wwhimpl/js/html/wwhelp.htm
Thanks,
Peter
reading the src ( or tracing thru it) is also very educational.