You need to sign in to do that
Don't have an account?
fullvalue
Flex Toolkit
So in the Ajax toolkit I can do as follows:
Code:
The .set allowed me to use a variable as the field name. How can I do this in the Flex toolkit?
Thanks
Code:
var project = new sforce.SObject("Project"); project.set("Id", id); project.set(field, newval);
var callback = {onSuccess : success, onFailure : log}
var result = sforce.connection.update([project],callback);
The .set allowed me to use a variable as the field name. How can I do this in the Flex toolkit?
Thanks
Message Edited by fullvalue on 09-19-2007 06:00 PM
Thanks
acc.Name = 'new account name';
I want to use one handle for mutiple objects.
On the change event for a number of objects I want to run an update query.
Thanks!
Example:
Code:
Message Edited by fullvalue on 09-21-2007 12:41 PM
Message Edited by fullvalue on 09-21-2007 12:42 PM
upd[currentTarget.text] = somethingvalue
upd should be a dynamic object