Custom Module and Custom View Sync with CompanyCam

Custom Module and Custom View Sync with CompanyCam

How to sync custom module with CompanyCam from Zoho CRM:



How to Transfer Custom Module Records from Zoho CRM to CompanyCam, Prevent Deal Records from Syncing to CompanyCam, and GeoCoordinate Synchronization Between Zoho CRM and CompanyCam



Function needed:


// set the api name of the custom module you'd like to use
CUSTOM_MODULE_API_NAME = "customs1";
//
// do not change any lines below this
token = zoho.crm.getOrgVariable("companycamzohocrmintegration__CC_accesstoken");
rec = zoho.crm.getRecordById(CUSTOM_MODULE_API_NAME,id);
companycamzohocrmintegration.syncDeal({"DealData":rec});
IMPORTANT: Country field must be formatted to 2 digits: CA. or US