I am using the Zoho Creator to develop forms that speak to the Zoho CRM. I am able to have a form create an entry on submit for the standard modules, however it stops working when I try to apply it to a custom module.
For example, in one of my forms I have the following script to run when the submit button reaches "on success":
myFieldMap = map();
myFieldMap.put("Product Name", input.Product_Name);
myFieldMap.put("Product Description", input.Product_Description);
//function to push data to CRM
response = zoho.crm.create("Products", myFieldMap);
This creates a new entry in the "Products" module correctly, integration is working properly.
However, when I try the same function for a custom module, no new entires are made.
For example on another form, I have the following script for "on success":
myFieldMap = map();
myFieldMap.put("Economics", input.Economics);
myFieldMap.put("Live Examples", input.Live_Examples);
//function to push data to CRM
response = zoho.crm.create("CustomModule4", myFieldMap);
The script is now throwing any errors, and the submission comes through as a success, however no new entry is created in the CRM for the CustomModule4.
What I missing to ensure this applies to the custom module?