You need to sign in to do that
Don't have an account?
pDaisies
AJAX Libraries on the JS
Can someone point me to the JS libraries so I know what methods are available?
I'm trying to implement the AJAX toolkit with some knowledge of the API, some knowledge of Javascript, but no clue how to create a task, for instance, with the toolkit.
Anyone?
I'm trying to implement the AJAX toolkit with some knowledge of the API, some knowledge of Javascript, but no clue how to create a task, for instance, with the toolkit.
Anyone?
http://www.salesforce.com/us/developer/docs/ajax/apex_ajax.pdf
Code below shows how to create make the create call:
var account = new sforce.SObject("Account");
account.Name = "my new account";
var result = sforce.connection.create([account]);
if (result[0].getBoolean("success")) {
log("new account created with id " + result[0].id);
} else {
log("failed to create account " + result[0]);
}
HTHs