setProperties (hash) Objectpublic
Sets a list of properties at once. These properties are set inside a single beginPropertyChanges and endPropertyChanges batch, so observers will be buffered.
record.setProperties({ firstName: 'Charles', lastName: 'Jolley' });
Parameters:
-
hash
Object - the hash of keys and values to set
Returns:
-
Object - The passed in hash
Please login to continue.