Hi,
I am trying to add a new record in Contact Module of Zoho CRM on Success action of a form but I am getting an error on submit action of form
- crmMrk = Market[ID == input.Add_Market].Market_Name.toString();
- crmBr = Broadcast_Management [ID == input.Add_BM1].BM.toString();
-
- myFieldMap = map();
-
- myFieldMap = map();
- myFieldMap.put("Company", Add_TVStation_Name);
- myFieldMap.put("Last Name", "Contact");
- myFieldMap.put("First Name", "Creator");
- myFieldMap.put("Email", "noemail@noemail.com");
-
- myFieldMap.put("Market" , crmMrk);
- myFieldMap.put(" Broadcast Management" , crmBr );
-
-
- response = zoho.crm.create("Contacts", myFieldMap);
when I removed the below lines of code from above map then the script is working good, but I am not sure why the full script is not working
- myFieldMap.put("Market" , crmMrk);
- myFieldMap.put("Broadcast Management" , crmBr );
Thanks for your help
Arfater