Setting CRM "Contact lookup" field value
Hi,
In our CRM, we have added several custom fields in Solution entity. We have added a Contact lookup field. Then, we try to populate Solutions from a Creator Form via script, after creating, programmatically too, the Contact. We do something like this:
- c = map();
- c.put("First Name", input.First_Name);
- c.put("Last Name", input.Last_Name);
- // other fields...
- i = zoho.crm.create("Contacts", c);
- // error treatment...
- s = map();
- // other fields...
- s.put("Contact", input.First_Name + " " + input.Last_Name);
- i = zoho.crm.create("Solutions", s);
- // ...
The creation of Contact and Solution entities works fine but, the custom field "Contact" in Solution remains empty. Maybe, the names concatenation is not the way. What must we set in "Contact" field?
Thank you.