You need to sign in to do that
Don't have an account?
AJAX toolkit connection question
Hi I am very new to salesforce.
My question is can I establish a connection using AJAX toolkit from outside html page.
ex:
I have a html page in my desktop with following code
<html>
<head>
<script language="javascript" type="text/javascript" src="http://www.salesforce.com/services/lib/ajax/beta3.3/sforceclient.js"></script>
<script>
function setupPage() {
var user = sforceClient.login("name@mail.net", "123");
}
</script>
</head>
<body onload=setupPage()>
<div id=userNameArea>
</div>
</body>
</html>
Butthe code does not seem to be working. Not establish the connection
Any help?
found the solution
http://community.salesforce.com/sforce/board/message?board.id=ajax_toolkit&message.id=7551
All Answers
found the solution
http://community.salesforce.com/sforce/board/message?board.id=ajax_toolkit&message.id=7551
the link is not working. i am trying to set it up but it now working for me.
can you please update me the solution or new link to the solution.
Thanks
Aariff