How to search using custom fields in Zoho Desk (via Deluge scripting)?
In Zoho Desk, I have an account-level custom numeric field, called 'cf_vl_client_id', which is used to store the internal Client ID generated by our system. When I am trying to search records (in the Accounts module) using this custom field, I am constantly getting an error:
- zoho.desk.searchRecords(deskOrgId, "accounts", {"cf_vl_client_id": 1000});
Error:
- {"errorCode":"UNPROCESSABLE_ENTITY","message":"The value passed for the 'cf_vl_client_id' parameter is invalid."}
Surprisingly, I am able to find records using accountName:
- zoho.desk.searchRecords(deskOrgId, "accounts", {"accountName": "saurabh"});
Therefore, I am pretty sure that my syntax for searching via custom-field is incorrect. Unfortunately, the docs do not seem to cover this scenario.
Any help, please?
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.