Creating a record in CRM Pick List
I am trying to create a record form a Drop down form into a pick list, it seems that all the other fields are updating just fine. But not able to put data into a picklist.
- //create the CRM vs Creator fields map to push data to the CRM module.
- myFieldMap = Map();
- //add values to the map. CRM fields first and then Creator fields ( without the quotes ). Creator field’s deluge name is used here.
- myFieldMap = Map();
- myFieldMap.put("Guest Name",input.Guest_Name);
- myFieldMap.put("Guest 2 Name",input.Guest_2_Name);
- myFieldMap.put("Tour Vendor",input.Tour_Vendor);
- myFieldMap.put("Email",input.Email);
- myFieldMap.put("Guest Phone",input.Phone_Number);
- myFieldMap.put("Tour Type",input.Tour_Type);
- myFieldMap.put("Scheduled Tour Date",input.Scheduled_Tour_Date);
- myFieldMap.put("Schedule Tour Time",input.Scheduled_Tour_Time);
- myFieldMap.put("Promised Gifts",input.Promised_Gifts);
- myFieldMap.put("Gift Notes",input.Gift_Notes);
- myFieldMap.put("Deposit",input.Deposit);
- myFieldMap.put("Refundable Deposit",input.Refundable_Deposit);
- myFieldMap.put("Refund Amount",input.Refund_Amount);
- //function to push data to CRM
- response = zoho.crm.create("CustomModule2",myFieldMap);