I am using searchRecords to pull some records from a custom module in CRM in a Creator page:
resellers = zoho.crm.searchRecords("Resellers","(Active:equals:" + true + ")",element,200,r_SearchParam);
for each reseller in resellers
{
resellerListID = reseller.get("id");
resellerListName = reseller.get("Name");
resellerOwner = reseller.get("Owner");
resellerSecondaryOwners = reseller.get("Secondary_Owners");
}
My custom field "Secondary_Owners" in CRM is Multi-Select Lookup field.
I have values in this field, however, when I try to display them in Creator by returning "resellerSecondaryOwners" no value appears. i.e.:
<li>Reseller: <%=resellerListName%></li>
<li>ID: <%=resellerListID%></li>
<li>SecOwner: <%=resellerSecondaryOwners%></li>
Results look like:
- Reseller: ABC Trading
- ID: 1234567890
- SecOwner:
No error, but no value is returned.
Is there a trick to retrieving the vales of a Multi-Select Lookup CRM field in Creator?
Thanks in advance!