Zoho Deluge: Determine your Statement Execution Limit
- Category: Zoho
- Hits: 22216
A very quick article on how to check what the statement execution limit is on the Zoho application you are working in.
Why?
Our use-case is that an application we built in Zoho Creator was hitting statement execution limits and rather than proposing an upgrade or add-on to the subscription plan; we wanted some proof using code.
How?
We're going to use a quick snippet of some code. So create a function in the Zoho App you are checking, or somewhere you can write some Zoho Deluge code.
Note that requesting an increase of the limit or an upgrade to the subscription will likely to have to be asked directly to Zoho rather than using the online subscription plan management section.
ZohoCRM: Make either Mobile or Email mandatory
- Category: Zoho
- Hits: 17142
A really quick article on a pretty cool requirement, making 2 fields mandatory but if one is completed then making the other optional.
Why?
My use-case is that the mobile or email field on a Zoho CRM contact record is used to authenticate the contact on a Wordpress portal. OTP or 2FA or MFA or OTC is in effect however; so a contact email OR phone number is required. Both aren't required but at least one should be.
How?
We can do this without code and only using ZohoCRM layout rules. Let's take a contact record for demo purposes:

If I enter a phone number:

If I enter an email:

Zoho Deluge: Convert Hex to RGB
- Category: Zoho
- Hits: 14803
A quick article to document a Zoho Deluge function converting a hexadecimal color reference to a Red Green Blue value (RGB).
Why?
It's likely that Zoho will avail their color picker at some point as an input but at the time of print, this hasn't happened yet. Here's a function in deluge that takes a 3 or 6 character hexadecimal color and returns the RGB values for you.
How?
Very quickly, we take each character from the given string and convert it to its RGB value. Replace letters A to F with their numeric equivalents. Made up of 2 characters to convert to an RGB subset, the 1st value is to be multiplied by 16 and then added to the value of the 2nd; this equals the RGB value.
ZohoCRM: Using Criteria with Module Record Count
- Category: Zoho
- Hits: 38912
An example of code using the new API call "Module Record Count" with some criteria.
Why?
At time of print, I couldn't find an example of how to use this API call with search filters or criteria. Not sure about the rest of you, but I've been using this for pagination purposes and for the system to work out how many pages or loops in total it would need to do.
How?
Here's a couple of working examples I use in production systems:
Zoho CRM & Zoho Writer: Button to Merge Template, Send, and Attach
- Category: Zoho
- Hits: 48630
An article to save time where a customer wants to click a button to generate a merged document in Writer and attach it to the CRM record.
Why?
Our use-case is that we have a client who has to go to the CRM record, click on Mail Merge, which opens Writer, then has to click on various settings and run the Mail Merge; then has to click on "execute function after merge" and select the function to run (this would initially attach the file to the CRM record). This wasn't working really as there are issues around tweaking the function and getting it to understand basic mapping and attachments.
How?
As per our use-case above, we are going to create a button off the contact record which when the user clicks on it will generate a PDF of the merged template and attach it to the CRM contact record under "Attachments".
Zoho Analytics: Create a Monitoring System with Images
- Category: Zoho
- Hits: 49264
This is an article to remind me how I did this for a customer and images help visualize the health of the system.
Why?
The use-case here is to build a system which monitors a Zoho App for when records were last modified and if a synchronization process starts to fail, there should be images or icons warning or advising of failures.
How?
The key trick to use here the ability for Zoho Analytics to display different images based on a criteria or a value within a data table. As documented in an earlier article, put the URL of the image, then change it's format to show the image and not the URL text. In this example, we are using images uploaded in the Zoho Analytics image library but you would need images either uploaded in Analytics or a publicly accessible image without a user wall.
Zoho Projects: Get All Events
- Category: Zoho
- Hits: 29686
A quick article because I couldn't find anything that documented this with a working example.
Why?
The use-case here is that we want to make a ZohoCreator page display events for this month from ZohoProjects.
How?
The bit that stumped me was making a call to the Events endpoint as it would just come back with a blank response...
The reason it was blank was due to my parameters; the key item to remember is that status is a mandatory field and it can either be "closed" or "open".
ZohoAnalytics & ZohoBooks: Custom Related List from Analytics
- Category: Zoho
- Hits: 40604
A quick article to document 2 features in deluge code: a custom related list in ZohoBooks, and a reminder on how to read a table from ZohoAnalytics.
Why?
My use-case here is that we have a client who uses their purchase orders and sales orders as part of a logistics solution where items are purchased from a supplier, sent to another supplier for grading, and then sent on to the end user/customer.
A custom field against the item record has been added which is a lookup to the Sales Order module. This means that on a purchase order, and per line item, the staff can specify which Sales Order the item relates to.
How?
At time of print, adding the lookup to the line item will automatically display a related list on the Sales Order but does not associate any records... not sure why this is. So we have a workaround, by sending all the data including the custom fields per line items to ZohoAnalytics; and in ZohoAnalytics importing a table based on a query which joins the sales orders and purchase order items by the custom lookup field.
Page 7 of 26
Latest Articles
Accreditation
Donate & Support
If you like my content, and would like to support this sharing site, feel free to donate using a method below:

bc1qf6elrdxc968h0k673l2djc9wrpazhqtxw8qqp4
0xb038962F3809b425D661EF5D22294Cf45E02FebF
Paypal:

Bitcoin:
bc1qf6elrdxc968h0k673l2djc9wrpazhqtxw8qqp4
Ethereum:
0xb038962F3809b425D661EF5D22294Cf45E02FebF

