Field names in a custom module accessed from deluge script
Hi,
I have created a custom module called 'TestPartner' in our CRM. Its built-in name is 'CustomModule1'.
By default Zoho has created a field in that module, called 'TestPartner Name'.
I'd like to manipulate the fields with a deluge script, but first of all I need to access them by the name, like this:
...
test_partners = zoho.crm.getRecords("CustomModule1", start_index, end_index);
for each partner in test_partners
{
info
partner.get("TestPartner Name") + " - " +
partner.get("Country") ;
}
...
Strangle enough, 'Country' returns its value correctly, but 'TestPartner Name' is null. 'TestPartner ID' is also null.
Please give some hint how I can access fields in a custom module.
- What is the name of the implicit ID field, that I will also need when I update the record?
- How to refer to a field that has space in its name?
I appreciate any help,
thanks
Zsolt Farkas