AnsweredAssumed Answered

How to add an email on Account in record.js?

Question asked by karmet on Nov 10, 2015
Latest reply on Mar 4, 2016 by Timm Hossfeld

Doing this:

this.model.set('name', 'Bogus Inc.');
this.model.set('email1', '');

causes only the name field of the Account to update on screen. It does not update the email.


Neither does this:

this.model.set('email', [{email_address: '', primary_address: true}]);


How can I set an email on an Account by code and show those changes in the input field without having to save the record first?