Zoho Creator to CRM Subform issue
I'm trying to move entries from creator to CRM. In this case, the entries create a new account on CRM and transfer the information in the subform as well. Deluge is saying that there is an error in line 5. The sub form in creator is called SubForm and the one in Accounts is called Products Requested.
Please help me out with this
accountInfo=Map();
accountInfo.put("Account_Name",input.Name);
accountInfo.put("Account_Site", input.Class);
productsList=List:Map();
for each Product in input.SubForm
{
productDetails=Map();
productDetails.put("Products_Requested"."name", input.SubForm.Product);
productsList.add(productDetails);
}
accountInfo.put("Products_Requested", SubForm);
response = zoho.crm._create("Accounts", accountInfo);
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.