AnsweredAssumed Answered

This possbile get Contacts by email and custom field field_c? Sugar 7.6

Question asked by Rodolfo Jesus on Feb 18, 2016
Latest reply on Mar 17, 2016 by tcurrie@riskanalytics.com

This possíble use this code in record.js

 

  1. var email='email@email.com'
  2. app.data.createBean('Contacts',{email:lemail}).fetch({        
  3.         success:function(contact){ 
  4.             console.log("print to log"); 
  5.             console.log(contact.get('field_name'));        
  6.         } 
  7. }); 

Outcomes