How to copy address & common information from contact to Lead when it created from below of the contact?
How to copy address & common information from contact to Lead when it created from below of the contact?
Dear Ishani Lad
Add following code in custom/modules/Leads/clients/base/views/create/create.js
under initialize function add this code:
this.on("render",this.relateContact,this);
In relateContact function add the field you want ...
relateContact:function(){
if (!_.isEmpty(this.model.link)) {
this.model.set('your_field',this.model.link.bean.attributes.your_field);
}
}