Zoho Deluge - Get Full Day Name
- Category: Zoho
- Hits: 13648
This is a very quick note with the code to retrieve the full day name from a date (eg. "Monday").
Why?
If I use the toString() function to get the day, it only returns the first 3 letters of the day (eg. "Mon").
My_Date = today; Day_Name = My_Date.toString("E"); // returns "Mon"How?
Zoho Deluge - Get User Timezone, Country and Location
- Category: Zoho
- Hits: 13452
A quick article just as a note to get the users country information from a third-party API based on the given IP address.
How?
Well this is just a list of free 3rd-party APIs and the below code is dependent on these being online and working...
Zoho Deluge: Convert Map to URL Parameters
- Category: Zoho
- Hits: 11952
A quick article on converting a Map (associative array with keys and values) into a URL string to pass as URL parameters.
How?
Let's first define a map:
Zoho Deluge - Pad with leading Zeros
- Category: Zoho
- Hits: 12800
There may be other articles out there documenting this but I can't keep trying to find these in Google so referring to my own website, this is a doddle for me to find each time.
Why?
I have to do this so often that it deserves an article. Though writing a whole page for this is probably unwarranted so I may rename this article later to common things I need to do in Zoho Deluge.
How?
So going through the forums you may find the following example:
Zoho Deluge - Determine Quarter from Date with Fiscal Year
- Category: Zoho
- Hits: 11784
This is a quick article on what should be a simple mathematics equation: Determine the quarter from a given month.
Why?
Fine if you are determining the quarter by the month and your Fiscal year starts from January, simply divide by 3...
How?
I'm showing this in Zoho Deluge but the logic can be adapted to other code. You will need this snippet of code for the examples below:
l_Months = {1,2,3,4,5,6,7,8,9,10,11,12}; l_MonthNames = {"January","February","March","April","May","June","July","August","September","October","November","December"};
Zoho CRM: APIv2 using PHP & cURL
- Category: Zoho
- Hits: 19934
This is an article documenting how to access ZohoCRM with API v2 using PHP and cURL. The first few functions are to manage OAuth v2 and generate the refresh and access tokens. The second snippet of code below is using the functions to read data from Zoho CRM and to write data back to the system.
Why?
I've rewritten this code a few times and want to store the finalized version (following updates) making it as generic as I can in order to apply it to any client.
How?
Firstly, you will need to browse to https://accounts.zoho.eu/developerconsole and register your new app (or the one you will have completed once copying the below scripts).
Zoho Templates - Font size is inexplicably tiny
- Category: Zoho
- Hits: 19093
This is an article resolving an issue where a template will shrink all the text when in PDF preview.
Why?
Ok doesn't need a song and dance about it, but I went home yesterday downtrodden by an issue which I'd been working on for most of the day where I would remove all the styling and the text would still appear small. Sure I resized the text to about 46pt and everything was over 3000px in width but this is not good for a final solution. I thought maybe there was a setting for the default font size or where I've accidentally zoomed out in the browser... but these were red herrings as I have other templates that work fine.
How?
The error is one of those that you wouldn't consider relevant in this case, after all, all styling was removed... Here are two screenshots to demonstrate the issue:
Zoho Deluge - Get Refresh/Access Token API v2
- Category: Zoho
- Hits: 37779
A sorta quick article to note how I can generate refresh tokens and access tokens using Zoho Deluge code (so within Zoho Creator, CRM or Books) without XML calls.
Why?
I find myself using this more and more now that API v1 is on the way out and Zoho Deluge by itself is limited somewhat with regards to functionality and record editing when compared to API v2.
How?
Note that this is using Zoho Deluge and not another server-side script such as PHP to send the requests via API.
Page 23 of 25
Credit where Credit is Due:
Feel free to copy, redistribute and share this information. All that we ask is that you attribute credit and possibly even a link back to this website as it really helps in our search engine rankings.
Disclaimer: Please note that the information provided on this website is intended for informational purposes only and does not represent a warranty. The opinions expressed are those of the author only. We recommend testing any solutions in a development environment before implementing them in production. The articles are based on our good faith efforts and were current at the time of writing, reflecting our practical experience in a commercial setting.
Thank you for visiting and, as always, we hope this website was of some use to you!
Kind Regards,
Joel Lipman
www.joellipman.com
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:

Ethereum:
