... the Zoho Deluge team... Well, they realised they would get the same results, and then suggested looping through all records and creating a distinct list variable... But what if there are 20000+ records? ...
... Deluge.
How?
We're going to make use of the .toLong() function applied to a datetime datatype variable which will return the Unix seconds.
// the now time
v_NowTime = zoho.currenttime;
//
// ...
What?
This is an article to hopefully resolve for you quicker than it took me, why a zoho.crm.searchRecords() returns some of the records but omits others.
Why?
The use-case was that we were creating ...
... replace the my_owner and my_app with your Zoho Creator owner and app name respectively) Update 2022: I've included the code to verify the webhook came from Shopify:
//
// declare response variable back ...
... form is called "Quotes" and my subform is called "Line_Items":
// initialize variables
// ... this is a demo so ... do your own ...
//
// get source data
r_QuoteDetails = zoho.crm.getRecordById("Quotes", ...
... on line 86
Rather than assuming Zoho Deluge maps and lists are JSON variables, let's send a strange hack instead:
m_NestedRequest = Map();
m_NestedRequest.put("auth[key]",v_AuthKey);
m_NestedRequest.put("auth[secret]",v_AuthSecret);
m_NestedRequest.put("data[member_id]","123456");
m_NestedRequest.put("data[channel_name]","shopify");
m_NestedRequest.put("data[item_name]","Joel ...
What?
This is a quick article to template some code to me on sorting a map variable in Zoho Deluge, specifically Zoho Creator.
Why?
I do this a lot but in the following example, I want to sort ...
... for inserting a row into a subform:
// declare a variable to hold the collection of rows
= Collection();
// declaring the row
= .();
// assigning values for various subform fields in the ...
... to work on the CRM record:
// assuming I have a creator form called "myForm"
// that the ID of the record is the value of the variable "myRecordID"
// that a subform exists in the form called "Attachments"
// ...
What?
This is a quick article to demonstrate how to compare two datetime values with the timezone specified.
Why?
A client's ZohoCRM had a different timezone setting than the user a script would ...
... // 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
...
... and the next page has a table which is of variable length. Fine when the table was short and didn't have many rows. But the client will pick up the phone to you when the table has too many rows to fit ...
... 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 ...
... being this script.
Complete the global variables at the beginning of the code specific to your app and the rest should work...
// specific to this app
$CLIENT_ID = ''; // expecting *.apps.googleusercontent.com
$CLIENT_SECRET ...
... and how long ago was the last token created.
How?
So almost pure JS. I'm working out the seconds remaining and seconds elapsed in PHP first then passing these as two variables to the below code ...
... 'text/csv');
// send request to the server
xhr.send();
// return contents of target file to JS variable
var my_csv_file_contents = xhr.responseText;
// ...
... as a local variable.
-- Specify v2.5.x admin ID and v3.4.x admin ID
SET @v25_admin_id=42; -- Set this to the ID number of the user in your Joomla 2.5.x
SET @v25_admin_alias='Webmaster'; -- Set ...
... text translation.- Date Uploaded: Wed, 2nd Nov 2011 1.5.3.4 - Fixed Bug: More variables now defined- Date Uploaded: Fri, 30th Sep 2011 1.5.3.3 - Fixed Bug: Undefined variables now defined- Date Uploaded: ...
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.