I have tried to read
this documentation about setting organization variable. I set this code in deluge function
- // create a list
- listVar=list();
- listVar.add("Harry");
- listVar.add("Charles");
- // save the list to org variable
- valueMap = Map();
- valueMap.put("apiname","myList");
- valueMap.put("value", listVar);
- zoho.crm.invokeConnector("crm.set",valueMap);
- // get the list from org variable
- value = zoho.crm.getOrgVariable("myList");
- info "myList is " + value;
but it seems that I can't save the list, because I got the null value in return like this
what went wrong?
I am not sure about this one line
- valueMap.put("apiname","myList");
especially the 'apiname'. I just copy paste the code from documentation. but unfortunately the docs is not clear enough. it is said
" You can find the information about the API name of the custom variable in the following places: "
" In a Vertical solution: Click Company Settings in the left pane and click Org Settings.
In an Extension: Click Custom Properties in the left pane. "
I don't understand. I can ony find 'Company Details' in Zoho CRM settings