Assuming invokeconnector is required, the following 8 results were found.
So this is an article with some common snippets of code that use the InvokeConnector and do things we can't do in shortcode. List CRM Users (ActiveUsers) Note that this is somewhat superseded by: l_Users = zoho.crm.getRecords("users") or r_User =...
{ m_Delete = Map(); m_Delete.put("module","Tests_X_Users"); m_Delete.put("id",r_Link.get("id")); r_Delete = zoho.crm.invokeConnector("crm.delete", m_Delete); } } Update 2025 Having to do this again in 2025 and things seem to have changed. I've added a...
m_Delete = Map(); m_Delete.put("module","Products"); m_Delete.put("id",m_Result.get("id")); r_Delete = zoho.crm.invokeConnector("crm.delete",m_Delete); // // if error that product is already linked in a transactional module record....
zoho.loginuserid) { idNode = user.executeXPath("/user/@id"); id = idNode.executeXPath("/id/text()"); } } } Method #2: InvokeConnector // get current user id m_UserTypes = Map(); r_Response = zoho.crm.invokeConnector("crm.getusers",m_UserTypes); l_Users...
lead record m_Delete = Map(); m_Delete.put("module","Leads"); m_Delete.put("id",r_Lead.get("id")); r_Delete = zoho.crm.invokeConnector("crm.delete",m_Delete); v_CountDeleted = v_CountDeleted + 1; } } } // // update this contact record irrespective of...
= 0; l_Users= List(); m_UserType = Map(); m_UserType.put("email",zoho.loginuserid); r_Response = zoho.crm.invokeConnector("crm.getusers",m_UserType); if(!isnull(r_Response.get("status_code"))) { if(r_Response.get("status_code")==200) { l_Users =...
*/ l_PhoneString = List(); v_CompanyWebsite = ""; // // get org details m_Blank = Map(); m_OrgDetails = zoho.crm.invokeConnector("crm.getorg",m_Blank); info m_OrgDetails.get("response"); if(!isNull(m_OrgDetails.get("response"))) {...
{ m_Delete = map(); m_Delete.put("module", "Tasks"); m_Delete.put("id",m_RelatedTask.get("id")); r_Delete = zoho.crm.invokeConnector("crm.delete", m_Delete); info r_Delete; } } } Caveat(s) I've set it to only remind on business days excluding Saturdays...