What?
This is an article documenting how to send a Zoho Deluge Map request to an API which is expecting nested/2d/multi-dimensonal arrays. In the example below, we are posting to a PHP script for testing ...
... convert to a JavaScript array of objects
var my_object_array = [
,
,
];
What I want again:
Read a CSV file already uploaded with JavaScript
Populate a JS array with each ...
What?
An article on how to quickly adapt an array code and sort by its values. Surprising how many examples are on the web and everyone saying you're doing it wrong... Which is true but quite unhelpful. ...
What?
This is an article to document a function used in Zoho Creator to retrieve the Product IDs of all the active products in a client's eBay store.
Why?
The use-case was that I wanted to retrieve ...
... it sent a payload (like a webhook) to my CRM REST API function. The following includes UserDeliveryPreferenceArray but I've successfully subscribed without this. I'm just including it because I want to ...
What?
This is a quick article documenting how to update custom fields in a line items or product details section of a transactional module such as Quotes, Sales Orders or Invoices using code: Zoho Deluge. ...
What?
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:
m_Payload = Map();
m_Payload.put("client_id","my-unique-client-id");
m_Payload.put("redirect_uri","https://www.joellipman.com");
m_Payload.put("response_type","code");
m_Payload.put("scope","my_api_scopes");
m_Payload.put("prompt","login");
Great! ...
... D
{
FullPathArray := StrSplit(A_LoopFileLongPath, "\")
ThisFolder := FullPathArray[9]
PreferenceFile := A_LoopFileLongPath "\Preferences" ; Get the preferences file from the profile
...
... // NOTE: convert this to a JSON Array
r_RecordUpdate = invokeUrl
[
url :v_EndPoint
type :PUT
headers: m_Header
parameters:m_Data.toString()
];
// NOTE: convert parameters variable to a string
...
... // get seconds ago
$v_Seconds = strtotime('now') - strtotime($p_Date);
// set unit labels
$a_UnitLabels = array('year','month','week','day','hour','minute','second');
// set unit values
...
... logic and highlight any changes you may need to make.
1. First: the variables are in arrays
Well mostly. Simply because we'll be working with JSON data and this encodes/decodes easily into PHP ...
What?
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 ...
... = today;
Day_Name = My_Date.toString("EEEE"); // returns "Monday"
Method #1:
We're going to populate two arrays / lists; retrieve the index value; and use this in the second array as follows:
// ...
... built-in functions of Zoho deluge.
Method #1:
Using a list/array, I'm going to check the date against the 3 exceptions to this rule (11th, 12th and 13th of each month):
// get the date (eg. 1, ...
... Strict Standards Issue: New Operator removed for PHP5+.
- Fixed Bug: Object without reference: Child object design converted to Object array.- Date Uploaded: Thu, 31st Oct 2013 3.0 - Fixed Bug: Version ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.